This PR contains the changes nessessary to migrate the current testing suite, which is Mocha to Vitest. This is similar to ciscoheat's PR, except that it only contains Vitest changes.
Note: Vitest automatically finds tests by looking for filenames that end with .test.ts, so I've done this here. This should also help unblock #1224.
Next steps
I believe that the current way which the test suite gathers files from the file system is not ideal. I think theres a better way to organize these tests, but that should be in another PR.
Closes: #1226
Description
This PR contains the changes nessessary to migrate the current testing suite, which is Mocha to Vitest. This is similar to ciscoheat's PR, except that it only contains Vitest changes.
Note: Vitest automatically finds tests by looking for filenames that end with
.test.ts
, so I've done this here. This should also help unblock #1224.Next steps
I believe that the current way which the test suite gathers files from the file system is not ideal. I think theres a better way to organize these tests, but that should be in another PR.