Commit 0ef3a6b
test(run-ops split): repair mollifier claim-resolution db.server mock
The write-path split added static `runOpsLegacyPrisma`/`runOpsNewPrisma`
imports to idempotencyKeys.server.ts, which this test loads. vitest
validates every named import against the `~/db.server` mock, so the mock
now errored on the missing run-ops singletons. Add the four run-ops
exports (empty stubs, same boundary pattern as the batchTriggerV3
residency test) and pin isSplitEnabled() to false so the dedup routing
deterministically returns the injected fake prisma regardless of the
ambient RUN_OPS_SPLIT_ENABLED.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 349ac75 commit 0ef3a6b
1 file changed
Lines changed: 18 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
8 | 17 | | |
9 | 18 | | |
10 | 19 | | |
| |||
22 | 31 | | |
23 | 32 | | |
24 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
25 | 41 | | |
26 | 42 | | |
27 | 43 | | |
| |||
0 commit comments