Nest.JS via vite example
$ npm install
# development
$ npm run dev
# unit tests
$ npm run test
# test coverage
$ npm run test:cov
# e2e tests
$ npm run test:e2e
POST http://localhost:3000/user
Content-type: application/json
{"email":"[email protected]","password":"123456"}
- swc-project/swc#2117 (fixed)
- under the hood (swc is used)
- vitest-dev/vitest#708 (will not be fixed) (issue when vite-plugin-node is not used)
- Build files with esbuild as a bundler (which might require a lot of custom options), and run tests against it
- Use swc plugin https://github.com/egoist/unplugin-swc