Commit Graph
4 Commits
Author SHA1 Message Date
AncTe 1bcdcc3677 refactor: 特殊属性定义方式 2026-10-09 20:09:51 +08:00
AncTe d4cbc514f7 style(08-11): apply prettier formatting to four test files
- manager.test.ts / saveLoad.test.ts / follower.test.ts / location.test.ts

- formatting-only (eslint --fix); whitespace-stripped tokens identical, no assertion/it changes

- four packages eslint now 0 errors (6 pre-existing no-console warnings remain)
2026-10-08 16:29:05 +08:00
AncTe 1bfe7080d5 test(08-03): align data-base enemy and flag tests to shipped interfaces
EnemyManager tests use a real TileStore with registered id<->num tiles; drop legacy bridge and *ById helpers (getPrefab/createEnemy take number|string); reusePrefab 2-arg; addPrefab dedupes by code only. Widen IEnemyManager.getPrefab signature to number|string (doc+impl). Flag tests align to loadState rebuilding field instances (d74cc35). Focused: 60/60 green.
2026-10-04 22:17:00 +08:00
AncTe 36d8b4fb3c test(08-01): migrate data-layer tests into __test__ dirs
Move 65 *.test.ts + 6 *.perf.ts across data-{common,base,system,state} into sibling __test__/ (data-state/test -> data-state/__test__), incl. fixtures/floors.json and non-test helpers; rewrite Rule A relative specifiers (+1 depth), keep Rule B unchanged; sync script/test-data-node.ts require paths. Gates: test:ci=66 files, test:perf=6 files, eslint clean, zero config/production changes.
2026-10-04 17:34:09 +08:00