Skip to content

Commit 8b820fb

Browse files
committed
test: fix
1 parent 3c8eaec commit 8b820fb

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

test/test.spec.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ import {
1313
updateFile,
1414
} from "./util";
1515

16+
const TIMEOUT = 1000000;
17+
1618
beforeAll(async () => {
1719
await preTest();
18-
}, 1000000);
20+
}, TIMEOUT);
1921

20-
afterAll(postTest);
22+
afterAll(postTest, TIMEOUT);
2123

2224
describe("vite-plugin-vue2", () => {
2325
describe("dev", () => {
@@ -34,11 +36,11 @@ export function declareTests(isBuild: boolean) {
3436

3537
beforeAll(async () => {
3638
page = await startServer(isBuild);
37-
});
39+
}, TIMEOUT);
3840

3941
afterAll(async () => {
4042
await killServer();
41-
});
43+
}, TIMEOUT);
4244

4345
test("SFC <script setup>", async () => {
4446
const el = (await page.$(".script-setup"))!;

0 commit comments

Comments
 (0)