Commit c60f2b4
committed
test(plugin-dev): drop the redundant driver-memory mock the census ledger locks (#15232)
`check:driver-memory-census` counts `vi.mock` as a DECLARATION, and that
package's consumer set is locked by maintainer ruling (#5499 froze investment,
#5704 / #6664 ruled each remaining consumer at two). The mock copied in from
this package's sibling harnesses made this file a third consumer.
⛔ Not ledgered — MIGRATED, which here means deleted: the line was redundant.
`dev-plugin.ts` has exactly one `import('@objectstack/driver-memory')` and it
sits inside `if (enabled('driver'))`, while both boots in this file pass
`services: { driver: false }`, so the specifier was never reached. Measured
rather than argued: with the line gone the suite is unchanged at
`7 passed (7) / 68 passed (68)`, both BOOT cases green (5ms / 1ms), and the
census gate returns to `OK — 2 ruled consumers` with its ledger untouched.
A comment stands where the mock was, so the next author copying the sibling
harness does not re-add it.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UHvF5hyiZjnCyExFnfQB8m1 parent 561ae05 commit c60f2b4
1 file changed
Lines changed: 11 additions & 1 deletion
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
58 | 68 | | |
59 | 69 | | |
60 | 70 | | |
| |||
0 commit comments