From 49e4453acc244198579b7a69ce7ed20916cc0be2 Mon Sep 17 00:00:00 2001 From: Tony Sullivan Date: Thu, 16 Jun 2022 12:49:48 -0500 Subject: [PATCH] restarting dev server between each error test --- packages/astro/test/errors.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/astro/test/errors.test.js b/packages/astro/test/errors.test.js index 78edcc4da4..e7cdfe9242 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(); });