mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-19 05:26:47 +00:00
4427c435a8
lint:test-mocks counts vi.mock/vi.doMock of src/config, src/nest/realtime and src/db per file under tests/, lint:test-new-service counts new XService(/new XRepository( there with every class whose constructor takes nothing allowed (derived from src/ and tests/helpers/), and lint:size holds files under tests/ to 2000 lines against their own baseline. Both counters share scripts/lib/count-ratchet.mjs, which gains a prepare hook for a check that reads the tree first. The three run as steps of the existing server lint job; the CLAUDE.md files and the module guide describe the test helpers they point to.
10 lines
371 B
JSON
10 lines
371 B
JSON
{
|
|
"tests/unit/nest/atlas.service.test.ts": 2193,
|
|
"tests/unit/nest/budget.service.db.test.ts": 2220,
|
|
"tests/unit/nest/doc-sync/doc-sync.service.test.ts": 2511,
|
|
"tests/unit/nest/journey-domain.service.test.ts": 3876,
|
|
"tests/unit/nest/maps.service.test.ts": 3751,
|
|
"tests/unit/nest/places.service.test.ts": 2561,
|
|
"tests/unit/nest/trips.service.test.ts": 2404
|
|
}
|