mirror of
https://github.com/morluto/rea
synced 2026-10-26 06:16:17 -04:00
test(contracts): consolidate concurrent limitation fixtures
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user