diff --git a/packages/astro/test/0-css.test.js b/packages/astro/test/0-css.test.js index 70dd11a5e..67ae73012 100644 --- a/packages/astro/test/0-css.test.js +++ b/packages/astro/test/0-css.test.js @@ -269,7 +269,7 @@ describe('CSS', function () { }); after(async () => { - (await devServer.stop()); + await devServer.stop(); }); it('resolves CSS in public/', async () => { diff --git a/packages/astro/test/cli.test.js b/packages/astro/test/cli.test.js index 3fd9a6984..d84ca56e4 100644 --- a/packages/astro/test/cli.test.js +++ b/packages/astro/test/cli.test.js @@ -98,5 +98,4 @@ describe('astro cli', () => { }); }); }); - }); diff --git a/packages/astro/test/debug-component.test.js b/packages/astro/test/debug-component.test.js index 02b560658..1eae70d1d 100644 --- a/packages/astro/test/debug-component.test.js +++ b/packages/astro/test/debug-component.test.js @@ -19,7 +19,7 @@ describe('', () => { }); after(async () => { - (await devServer.stop()); + await devServer.stop(); }); it('Works in markdown pages', async () => { diff --git a/packages/astro/test/dev-routing.test.js b/packages/astro/test/dev-routing.test.js index 42466ffa6..97e4e3203 100644 --- a/packages/astro/test/dev-routing.test.js +++ b/packages/astro/test/dev-routing.test.js @@ -15,7 +15,7 @@ describe('Development Routing', () => { }); after(async () => { - (await devServer.stop()); + await devServer.stop(); }); it('200 when loading /', async () => { @@ -56,7 +56,7 @@ describe('Development Routing', () => { }); after(async () => { - (await devServer.stop()); + await devServer.stop(); }); it('200 when loading /', async () => { @@ -92,7 +92,7 @@ describe('Development Routing', () => { }); after(async () => { - (await devServer.stop()); + await devServer.stop(); }); it('404 when loading /', async () => { @@ -138,7 +138,7 @@ describe('Development Routing', () => { }); after(async () => { - (await devServer.stop()); + await devServer.stop(); }); it('404 when loading /', async () => { @@ -184,7 +184,7 @@ describe('Development Routing', () => { }); after(async () => { - (await devServer.stop()); + await devServer.stop(); }); it('200 when loading /home.json', async () => { diff --git a/packages/astro/test/preview-routing.test.js b/packages/astro/test/preview-routing.test.js index 95d48b7e6..2f7a17b15 100644 --- a/packages/astro/test/preview-routing.test.js +++ b/packages/astro/test/preview-routing.test.js @@ -26,7 +26,7 @@ describe('Preview Routing', () => { }); after(async () => { - (await previewServer.stop()); + await previewServer.stop(); }); it('404 when loading /', async () => { @@ -81,7 +81,7 @@ describe('Preview Routing', () => { }); after(async () => { - (await previewServer.stop()); + await previewServer.stop(); }); it('404 when loading /', async () => { @@ -140,7 +140,7 @@ describe('Preview Routing', () => { }); after(async () => { - (await previewServer.stop()); + await previewServer.stop(); }); it('404 when loading /', async () => { @@ -204,7 +204,7 @@ describe('Preview Routing', () => { }); after(async () => { - (await previewServer.stop()); + await previewServer.stop(); }); it('404 when loading /', async () => { @@ -262,7 +262,7 @@ describe('Preview Routing', () => { }); after(async () => { - (await previewServer.stop()); + await previewServer.stop(); }); it('404 when loading /', async () => { @@ -324,7 +324,7 @@ describe('Preview Routing', () => { }); after(async () => { - (await previewServer.stop()); + await previewServer.stop(); }); it('404 when loading /', async () => { @@ -386,7 +386,7 @@ describe('Preview Routing', () => { }); after(async () => { - (await previewServer.stop()); + await previewServer.stop(); }); it('404 when loading /', async () => { diff --git a/packages/astro/test/react-component.test.js b/packages/astro/test/react-component.test.js index 871cafdfd..a05f76cf9 100644 --- a/packages/astro/test/react-component.test.js +++ b/packages/astro/test/react-component.test.js @@ -85,7 +85,7 @@ describe('React Components', () => { }); after(async () => { - (await devServer.stop()); + await devServer.stop(); }); it('scripts proxy correctly', async () => { diff --git a/packages/astro/test/sass.test.js b/packages/astro/test/sass.test.js index 1a5b198c8..e62092e42 100644 --- a/packages/astro/test/sass.test.js +++ b/packages/astro/test/sass.test.js @@ -14,7 +14,7 @@ describe('Sass', () => { }); after(async () => { - (await devServer.stop()); + await devServer.stop(); }); // TODO: Sass cannot be found on macOS for some reason... Vite issue? diff --git a/packages/astro/test/svelte-component.test.js b/packages/astro/test/svelte-component.test.js index 15eadac5f..61f03663f 100644 --- a/packages/astro/test/svelte-component.test.js +++ b/packages/astro/test/svelte-component.test.js @@ -38,7 +38,7 @@ describe('Svelte component', () => { }); after(async () => { - (await devServer.stop()); + await devServer.stop(); }); it('scripts proxy correctly', async () => { diff --git a/packages/astro/test/vue-component.test.js b/packages/astro/test/vue-component.test.js index 6519b0026..46edcfbac 100644 --- a/packages/astro/test/vue-component.test.js +++ b/packages/astro/test/vue-component.test.js @@ -53,7 +53,7 @@ describe('Vue component', () => { }); after(async () => { - (await devServer.stop()); + await devServer.stop(); }); it('scripts proxy correctly', async () => {