Since we are working on a brand new project, we have the opportunity to explore some newer libraries and frameworks. Vitest is the recommended testing suite by the maintainers of Vue, and there are quite a few benefits we could have from integrating it into our stack.
The long term goal is to make this a project-agnostic library which other teams working on MediaWiki could add as a plugin and write unit tests similar to how Jest is used now.
Acceptance Criteria:
- Vitest is available on GitLab through npm test (https://gitlab.wikimedia.org/repos/modtools/vitest-plugin)
- Basic functions and modules are mocked (setup.js)