test(contracts): consolidate concurrent limitation fixtures

This commit is contained in:
morluto
2026-10-24 08:21:20 +08:00
parent e6f252509f
commit f2dfda4b36
2 changed files with 0 additions and 4 deletions
@@ -15,7 +15,6 @@ const mocks = vi.hoisted(() => ({
settle: ReturnType<typeof vi.fn>;
limitations: ReturnType<typeof vi.fn>;
close: ReturnType<typeof vi.fn>;
limitations: ReturnType<typeof vi.fn>;
}
| undefined,
finishEvents: vi.fn(),
@@ -223,7 +222,6 @@ const fixture = () => {
close: vi.fn(async (stopLoading = false) => ({
loadingStopped: stopLoading,
})),
limitations: vi.fn(() => []),
};
return { cleanup, page, storage: mocks.storage };
};
@@ -68,7 +68,6 @@ it("accepts truncated partial coverage with unknown omission extents", () => {
expect(
createJavaScriptSemanticGraph({
...input,
limitations: ["Fixture resource limit prevents complete graph coverage."],
coverage: {
...input.coverage,
status: "partial",
@@ -87,7 +86,6 @@ it("accepts omitted unknown occurrences as the reason for semantic truncation",
const family = input.coverage.families[0]!.family;
const graph = createJavaScriptSemanticGraph({
...input,
limitations: ["Fixture resource limit prevents complete graph coverage."],
coverage: {
...input.coverage,
status: "partial",