mirror of
https://github.com/morluto/rea.git
synced 2026-11-21 14:05:49 +00:00
test: assert structured recovery facts instead of recovery wording in src tests (#12721)
* test: assert structured recovery facts instead of recovery wording in src tests Replace recovery-sentence locks with the structured fields that already carry those facts, and own Batch 4 temporary directories through createTestTempDirectory. * test(hopper): keep recovery order that retry_action does not carry retry_action names restart or unknown. It does not say to read provider_operation_health before retrying, or to close_binary before opening and retrying. Those order checks stay. Co-authored-by: morluto <morluto@users.noreply.github.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: morluto <morluto@users.noreply.github.com>
This commit is contained in:
19 files changed
+238
-273
No files matched your search
@@ -848,8 +848,8 @@ it("reports the repeated variant-name refusal as a fixed report allowance", asyn
|
||||
expect(projectAnalysisError(result.error)).toMatchObject({
|
||||
code: "resource_constraint",
|
||||
retryable: false,
|
||||
remediation: {
|
||||
action: expect.stringContaining("fixed report allowance"),
|
||||
details: {
|
||||
refusal: { kind: "fixed_ceiling", allowance_kind: "report" },
|
||||
},
|
||||
});
|
||||
} finally {
|
||||
|
||||
Reference in new issue
Block a user