Skip to content

Commit 4999f95

Browse files
committed
test: properly close server
1 parent 0f76b8e commit 4999f95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vue/cli-service/__tests__/buildWc.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ test('build as single wc', async () => {
8989
expect(h1Text).toMatch('Welcome to Your Vue.js App')
9090
})
9191

92-
afterAll(async () => {
92+
afterEach(async () => {
9393
await browser.close()
9494
server.close()
9595
})

0 commit comments

Comments
 (0)