diff --git a/packages/astro/test/errors.test.js b/packages/astro/test/errors.test.js index 78edcc4da..e7cdfe924 100644 --- a/packages/astro/test/errors.test.js +++ b/packages/astro/test/errors.test.js @@ -21,11 +21,11 @@ describe('Error display', () => { describe('Astro', async () => { let devServer; - before(async () => { + beforeEach(async () => { devServer = await fixture.startDevServer(); }); - after(async () => { + afterEach(async () => { await devServer.stop(); });