mirror of
https://github.com/morluto/rea.git
synced 2026-12-05 22:41:36 +00:00
test: let the suite own default test deadlines
178 Vitest cases set an explicit 30 s deadline, the old suite default. An explicit per-test value overrides the suite setting, so these cases kept 30 s under coverage (suite: 60 s) and on hosted CI (60 s since #10417); asyncChunkCapacity.test.ts then timed out at 30 s on main. Remove only explicit test or describe deadlines equal to 30 s, selected by syntax tree. Hook deadlines, subprocess timeouts, setTimeout delays and data values are unchanged. Local runs keep 30 s.
This commit is contained in:
1 parent
cc7d73d23a
commit
83ed1cbd2a
76 files changed
+117
-211
No files matched your search
@@ -26,7 +26,7 @@ describe("bounded paths through dynamic selectors and class origins", () => {
|
||||
value: 42,
|
||||
});
|
||||
expect(performance.now() - start).toBeLessThan(2000);
|
||||
}, 30000);
|
||||
});
|
||||
|
||||
it("retains effects through class getter aliases while bounding loop paths", () => {
|
||||
expect(
|
||||
@@ -65,7 +65,7 @@ describe("bounded paths through dynamic selectors and class origins", () => {
|
||||
"unknown",
|
||||
);
|
||||
expect(performance.now() - start).toBeLessThan(2000);
|
||||
}, 30000);
|
||||
});
|
||||
|
||||
it("retains shared-child mutations reached by dynamic-key alias loops", () => {
|
||||
expect(
|
||||
@@ -103,7 +103,7 @@ describe("bounded member path propagation", () => {
|
||||
);
|
||||
expect(callable.returnSites[0]?.value.status).toBe("unknown");
|
||||
expect(performance.now() - start).toBeLessThan(2000);
|
||||
}, 30000);
|
||||
});
|
||||
|
||||
it("preserves Array prototype effects through an otherwise unknown alias", () => {
|
||||
expect(
|
||||
@@ -125,7 +125,7 @@ describe("bounded member path propagation", () => {
|
||||
),
|
||||
).toEqual({ status: "literal", value: 3 });
|
||||
expect(performance.now() - start).toBeLessThan(2000);
|
||||
}, 30000);
|
||||
});
|
||||
|
||||
// A dynamic self alias escapes its repeated prefix, which conservatively
|
||||
// covers every child; a static key without that slot keeps the literal.
|
||||
@@ -144,7 +144,6 @@ describe("bounded member path propagation", () => {
|
||||
expect(performance.now() - start).toBeLessThan(2000);
|
||||
expect(value?.status).toBe(status);
|
||||
},
|
||||
30000,
|
||||
);
|
||||
|
||||
it.each([
|
||||
@@ -196,7 +195,6 @@ describe("bounded member path propagation", () => {
|
||||
expect(performance.now() - start).toBeLessThan(2000);
|
||||
expect(value?.status).toBe(status);
|
||||
},
|
||||
30000,
|
||||
);
|
||||
|
||||
it.each([
|
||||
@@ -282,7 +280,7 @@ describe("reference lifetimes across calls and shallow copies", () => {
|
||||
`const alias0 = [1]; ${declarations} const ${pattern} = alias9; return alias0[0];`,
|
||||
);
|
||||
expect(performance.now() - start).toBeLessThan(2000);
|
||||
}, 30000);
|
||||
});
|
||||
|
||||
it("bounds conditional shallow-copy traversal while retaining shared children", () => {
|
||||
const declarations = Array.from(
|
||||
@@ -297,7 +295,7 @@ describe("reference lifetimes across calls and shallow copies", () => {
|
||||
)?.status,
|
||||
).toBe("unknown");
|
||||
expect(performance.now() - start).toBeLessThan(2000);
|
||||
}, 30000);
|
||||
});
|
||||
|
||||
it.each([
|
||||
["child: {}", "child: {}", "literal"],
|
||||
|
||||
Reference in new issue
Block a user