The testing suite (Jest) was not working with Vite. After a long while trying to getting the Jest environment to work by being approximately the same as the Vite environment, I've replaced Jest with Vitest because Vitest can re-use the Vite configuration and environment used for building and running.
After getting the environment working the tests (which had previously been broken) were either fixed or skipped.
After moving to Vite in:
512
The testing suite (Jest) was not working with Vite. After a long while trying to getting the Jest environment to work by being approximately the same as the Vite environment, I've replaced Jest with Vitest because Vitest can re-use the Vite configuration and environment used for building and running.
After getting the environment working the tests (which had previously been broken) were either fixed or skipped.