test: the test suite exits on its own, without --forceExit (closes #585) #710

Merged
clawbot merged 1 commits from issue-585-no-force-exit into next 2026-10-28 01:09:13 +01:00
1 Commits
Author SHA1 Message Date
sneak e934ed19e7 test: the test suite exits on its own, without --forceExit (closes #585)
check / check (push) Waiting to run
e2e / e2e-chrome (push) Waiting to run
e2e / e2e-firefox (push) Waiting to run
Some tests left timers running when they ended, and --forceExit hid them.

- Six background test files leave an approval pending, so the background's
  20-second timer ran forever. Each file now stubs that timer, as two blocks
  in tests/backgroundApproval.test.js already did.
- Five popup test files show a flash message, and its timer outlived the
  test. They now run on fake timers.

Both test scripts in package.json drop --forceExit.

Model: opus-5-5
2026-10-27 23:33:22 +00:00