test(planning): script calculation lifecycle specs through jobs

The planning calculation spec chose its engine by stubbing the global
window and scripted lifecycle behaviour with twelve hand-written fake
Worker classes. Planner behaviour tests now run on the in-process job,
lifecycle tests script a job, and the browser that cannot start a worker
is a job factory that throws.

All 170 tests remain and no expectation changed to make a test pass. The
expired-deadline test only checked the outcome kind and passed on
worker-unavailable under the default setup; it now asserts the deadline
reason.

Refs #337

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
nessarandClaude Fable 5.2 committed 2026-11-10 20:41:19 +01:00
1 parent 62df01857c
commit a8dc58db74
1 file changed
+862 -1268
File diff suppressed because it is too large. Load diff