1
0
Fork 0
polaris-task-force/tests
Z8MB1E 64d92bf848 refactor(arma): extract catalog import logic into lib/arma-import
Move the record contract, planning, and upsert logic out of the CLI script
and into src/lib/arma-import/catalog.ts so it can be unit-tested and reused.
The CLI (importArmaLibrary.ts) becomes a thin wrapper. Records are upserted
into assets (keyed by className) and vehicles (by classname); thumbnails are
materialized from .paa inventory icons, and fuel config is resolved per
record type. Adds integration coverage for the catalog import path.
2026-10-01 10:04:38 -04:00
..
e2e test(tech-tree): add integration and e2e coverage 2026-10-01 10:04:07 -04:00
int refactor(arma): extract catalog import logic into lib/arma-import 2026-10-01 10:04:38 -04:00
push-schema.ts feat(test): run tests against a dedicated truncated database 2026-09-22 17:58:17 -04:00
seed-baseline.ts feat(test): run tests against a dedicated truncated database 2026-09-22 17:58:17 -04:00
test-db.ts feat(test): run tests against a dedicated truncated database 2026-09-22 17:58:17 -04:00
vitest-global.ts feat(test): run tests against a dedicated truncated database 2026-09-22 17:58:17 -04:00
vitest-teardown.ts feat(test): run tests against a dedicated truncated database 2026-09-22 17:58:17 -04:00