Files
cultivation-world-simulator/web/src
Zihao Xu 665d94addb test(web): add example frontend tests (#61)
* test(web): setup frontend test infrastructure

- Add testing dependencies (vitest, vue-test-utils, testing-library, jsdom, msw)
- Create vitest.config.ts with jsdom environment and coverage settings
- Create setup.ts with Pinia initialization and fake timers
- Add test scripts to package.json (test, test:run, test:coverage)

Closes #56, closes #57

* test(web): add example frontend tests

- Add system store tests (initial state, getters, togglePause)
- Add eventHelper utility tests (processNewEvents, mergeAndSortEvents, avatarIdToColor, highlightAvatarNames)

Closes #59
2026-01-19 20:48:43 +08:00
..
2026-01-13 22:00:23 +08:00
2026-01-11 22:29:53 +08:00
2026-01-12 23:25:53 +08:00
2025-11-20 23:55:22 +08:00
2025-11-20 01:27:48 +08:00
2025-12-04 21:33:14 +08:00