We have unit tests that are not unit tests, for example
src/machines/modelingMachine.test.ts is not a unit test. You need a server up and running to run this unit test. We need a different test runner to run these types of tests. They are making our unit testing run time more difficult to use.
The following will not work
npx vitest run --mode development ./src/machines/modelingMachine.test.ts
The following will work
npm run simpleserver:bg
# in another terminal
npx vitest run --mode development ./src/machines/modelingMachine.test.ts
Our unit tests require a localhost server.
TODO: running list