You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9d75b10
Browse filesBrowse the repository at this point in the historyBrowse files
test(write_to_file): prove revert-then-reset ordering when handleError rejects
Address the remaining CodeRabbit finding:
The "runs diff cleanup when handleError rejects" regression test asserted
only invocation counts. It now uses the same deferred-promise sequencing
pattern as the missing-parameter cleanup tests: the revertChanges mock
awaits a deferred promise, so the test asserts reset() has NOT run while
the revert is still pending, then resolves it and asserts the calls occur
exactly in revertChanges-then-reset order (diffViewCallOrder).
0 commit comments