Skip to content

Commit 51c492e

Browse files
committed
test: increase timeout
1 parent 24bf91d commit 51c492e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/get-component-meta.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ describe("get-component-meta", () => {
1313
}
1414
})
1515

16-
test("parse NormalScript fresh parse", () => {
16+
test("parse NormalScript fresh parse", { timeout: 10000 }, () => {
1717
const meta = getComponentMeta("components/NormalScript.vue", {
1818
rootDir,
1919
})
2020
expect(meta.props.length).toEqual(4);
2121
expect((meta as unknown as Record<string, unknown>).cachedAt).toBeUndefined();
2222
});
2323

24-
test("parse NormalScript fresh parse (cache enabled)", () => {
24+
test("parse NormalScript fresh parse (cache enabled)", { timeout: 10000 }, () => {
2525
const meta = getComponentMeta("components/NormalScript.vue", {
2626
rootDir,
2727
cache: true
@@ -30,7 +30,7 @@ describe("get-component-meta", () => {
3030
expect((meta as unknown as Record<string, unknown>).cachedAt).toBeUndefined();
3131
});
3232

33-
test("parse NormalScript cached", () => {
33+
test("parse NormalScript cached", { timeout: 10000 }, () => {
3434
const meta = getComponentMeta("components/NormalScript.vue", {
3535
rootDir,
3636
cache: true

0 commit comments

Comments
 (0)