mirror of
https://github.com/morluto/rea.git
synced 2026-10-27 01:45:32 +00:00
test(contracts): consolidate concurrent limitation fixtures
This commit is contained in:
1 parent
e6f252509f
commit
f2dfda4b36
2 files changed
-4
No files matched your search
@@ -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