Vitest TypeScript project template
npm init
npm i -D \
@types/jest \
@types/node \
esbuild \
typescript \
vitest \
vite-tsconfig-paths
The following command will start the vitest
npm start
or
npm run dev
npx degit erkobridee/vitest-ts ${project_name}
-
esbuild - An extremely fast bundler for the web
-
Vitest - Next Generation testing framework
-
How to test with relative import · vitest-dev/vitest · Discussion #1285
- [GitHub] aleclarson/vite-tsconfig-paths - Support for TypeScript's path mapping in Vite
-
How to use Typescript with Vitest | Run That Line (2023/12/25)
-
A Reusable Way to Test React Components that Make Use of React Context | by Jane's Front-end Diary - Medium (2023/07/31)