mirror of
https://github.com/morluto/rea.git
synced 2026-11-19 05:02:40 +00:00
test: prune redundant and implementation-coupled coverage
This commit is contained in:
1 parent
14b15ba8a5
commit
48e27e19b7
191 files changed
+2757
-5418
No files matched your search
@@ -47,7 +47,10 @@ it.each([
|
||||
),
|
||||
);
|
||||
},
|
||||
}).execute("batch_decompile", { addresses: ["first", "second", "third"] });
|
||||
}).executeValidated({
|
||||
name: "batch_decompile",
|
||||
input: { addresses: ["first", "second", "third"] },
|
||||
});
|
||||
if (result.ok)
|
||||
throw new Error("Unresolved cleanup was reported as a completed batch");
|
||||
expect(result.error).toBe(failure);
|
||||
@@ -121,9 +124,11 @@ it.each([
|
||||
),
|
||||
);
|
||||
},
|
||||
}).execute(
|
||||
"batch_decompile",
|
||||
{ addresses: ["0x1000", "0x2000", "0x3000"] },
|
||||
}).executeValidated(
|
||||
{
|
||||
name: "batch_decompile",
|
||||
input: { addresses: ["0x1000", "0x2000", "0x3000"] },
|
||||
},
|
||||
controller.signal,
|
||||
);
|
||||
if (result.ok) throw new Error("Cancelled batch completed successfully");
|
||||
|
||||
Reference in new issue
Block a user