Files
cultivation-world-simulator/web
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
..
2025-11-20 01:27:48 +08:00
2025-11-20 01:27:48 +08:00
2025-11-22 01:13:36 +08:00
2025-11-20 22:16:27 +08:00
2025-11-22 15:32:46 +08:00
2025-12-04 21:33:14 +08:00