Currently CLI tests are built on Jest, which is a JS framework not built for Typescript projects.
This causes a few issues:
- slow test performance - pre-test compile needed
- complex config to ensure it's testing the post-compile code
- editor plugins break in VSCode, meaning that we can't debug/run tests from in the ide
Suggested fix is to migrate to vitest, a much more modern, TS native library that we already use for the CALMHub UI. This should be a mostly painless rewrite since it's Jest-compatible.
Currently CLI tests are built on Jest, which is a JS framework not built for Typescript projects.
This causes a few issues:
Suggested fix is to migrate to vitest, a much more modern, TS native library that we already use for the CALMHub UI. This should be a mostly painless rewrite since it's Jest-compatible.