mirror of
https://github.com/morluto/rea.git
synced 2026-11-09 16:26:36 +00:00
test: focus diagnostics and evidence checks on behavior (#9303)
* test: focus configuration diagnostics on their owners Preserve shape errors, selected paths, recovery guidance, and unchanged-file behavior across parser, setup, and uninstall boundaries. * test: focus artifact and evidence checks on behavior Retain format, identity, malformed-input, and cleanup coverage while removing fixed prose and closing the admitted test source. * refactor(debugger): use configured session admission limits * test: focus evidence and diagnostics on behavior * fix(test): restore verifier export and formatting * test(config): verify debugger limit ranges * test(rizin): keep fixture executable authoritative * test(rizin): isolate debugger fixture environment
This commit is contained in:
1 parent
08637b0c24
commit
5044e20171
290 files changed
+2808
-2030
No files matched your search
@@ -68,8 +68,9 @@ it("keeps a malformed provenance report distinct from the fixed report allowance
|
||||
if (!(refusal instanceof ProviderAdapterError))
|
||||
throw new Error("Expected a wrapped Wakaru report refusal");
|
||||
const projected = projectAnalysisError(refusal);
|
||||
expect(projected.message).toBe(
|
||||
"Analysis could not complete. Run `rea doctor` and review the reported details; repeating the unchanged request is not expected to succeed.",
|
||||
expect(projected.message).toMatch(/rea doctor/iu);
|
||||
expect(projected.message).toMatch(
|
||||
/unchanged request.*not expected to succeed/iu,
|
||||
);
|
||||
expect(projected.remediation.action).toBe(projected.message);
|
||||
expect(JSON.stringify(projected)).not.toContain("report allowance");
|
||||
|
||||
Reference in new issue
Block a user