[ci] format
This commit is contained in:
parent
54b33d50fd
commit
6fa6369678
3 changed files with 4 additions and 6 deletions
|
@ -15,11 +15,10 @@ describe('Missing output config', () => {
|
|||
let error = undefined;
|
||||
try {
|
||||
await fixture.build();
|
||||
} catch(err) {
|
||||
} catch (err) {
|
||||
error = err;
|
||||
}
|
||||
expect(error).to.not.be.equal(undefined);
|
||||
expect(error.message).to.include(`output: "server"`);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -29,8 +29,8 @@ export default function vercelEdge(): AstroIntegration {
|
|||
setAdapter(getAdapter());
|
||||
_config = config;
|
||||
|
||||
if(config.output === 'static') {
|
||||
throw new Error(`
|
||||
if (config.output === 'static') {
|
||||
throw new Error(`
|
||||
[@astrojs/vercel] \`output: "server"\` is required to use the serverless adapter.
|
||||
|
||||
`);
|
||||
|
|
|
@ -15,11 +15,10 @@ describe('Missing output config', () => {
|
|||
let error = undefined;
|
||||
try {
|
||||
await fixture.build();
|
||||
} catch(err) {
|
||||
} catch (err) {
|
||||
error = err;
|
||||
}
|
||||
expect(error).to.not.be.equal(undefined);
|
||||
expect(error.message).to.include(`output: "server"`);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue