mirror of
https://github.com/morluto/rea.git
synced 2026-11-15 19:23:24 +00:00
test: clarify inspector coverage limitations
This commit is contained in:
1 parent
872890bef3
commit
5cafea5ebe
2 files changed
+14
-7
No files matched your search
@@ -148,7 +148,9 @@ it("stops Inspector target authorization after the current stat settles", async
|
||||
complete: false,
|
||||
targets_examined: 1,
|
||||
limitations: expect.arrayContaining([
|
||||
"Cancellation stopped target authorization; unexamined targets are unknown, not excluded.",
|
||||
expect.stringMatching(
|
||||
/cancellation.*authorization.*unexamined targets.*unknown.*not excluded/iu,
|
||||
),
|
||||
]),
|
||||
},
|
||||
});
|
||||
@@ -185,8 +187,9 @@ it("stops Electron target authorization after the current stat settles", async (
|
||||
expect(result.error.cause).toBe(reason);
|
||||
expect(result.error.diagnostics).toMatchObject({
|
||||
completed_prefix: {
|
||||
coverage:
|
||||
"partial: target authorization stopped; remaining targets are unknown",
|
||||
coverage: expect.stringMatching(
|
||||
/partial.*authorization stopped.*targets are unknown/iu,
|
||||
),
|
||||
},
|
||||
});
|
||||
const prefix = record(record(result.error.diagnostics)?.completed_prefix);
|
||||
|
||||
Reference in new issue
Block a user