summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Tony Sullivan <tony.f.sullivan@outlook.com> 2022-06-16 12:49:48 -0500
committerGravatar Tony Sullivan <tony.f.sullivan@outlook.com> 2022-06-16 12:49:48 -0500
commit49e4453acc244198579b7a69ce7ed20916cc0be2 (patch)
treec28aeb9b68d59088ff7a2dc38629d1b7bf646555
parent81104a93356db1c65db7abf44a1da8e1d1c819d0 (diff)
downloadastro-49e4453acc244198579b7a69ce7ed20916cc0be2.tar.gz
astro-49e4453acc244198579b7a69ce7ed20916cc0be2.tar.zst
astro-49e4453acc244198579b7a69ce7ed20916cc0be2.zip
restarting dev server between each error test
Diffstat (limited to '')
-rw-r--r--packages/astro/test/errors.test.js4
1 files changed, 2 insertions, 2 deletions
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();
});