[ci] format

This commit is contained in:
matthewp 2022-07-27 15:52:44 +00:00 committed by fredkbot
parent 54b33d50fd
commit 6fa6369678
3 changed files with 4 additions and 6 deletions

View file

@ -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"`);
});
});

View file

@ -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.
`);

View file

@ -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"`);
});
});