File tree Expand file tree Collapse file tree 5 files changed +908
-2354
lines changed Expand file tree Collapse file tree 5 files changed +908
-2354
lines changed Original file line number Diff line number Diff line change 1212 "license" : " ISC" ,
1313 "devDependencies" : {
1414 "@babel/plugin-proposal-explicit-resource-management" : " ^7.24.6" ,
15- "@nirelko/jest-environment-jsdom" : " ^29.6.7" ,
1615 "@testing-library/dom" : " ^9.3.4" ,
1716 "@testing-library/jest-dom" : " ^5.17.0" ,
1817 "@testing-library/react" : " ^14.3.1" ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 66 "scripts" : {
77 "dev" : " nodemon src/index.ts" ,
88 "serve:ci" : " ts-node src/index.ts" ,
9- "test" : " jest "
9+ "test" : " vitest run "
1010 },
1111 "keywords" : [],
1212 "author" : " " ,
1313 "license" : " ISC" ,
1414 "devDependencies" : {
1515 "@faker-js/faker" : " ^8.4.1" ,
16- "@types/jest" : " ^28.1.8" ,
1716 "@types/node" : " ^20.12.12" ,
18- "jest" : " ^28.1.3" ,
1917 "nodemon" : " ^3.1.1" ,
20- "ts-jest " : " ^28.0.8 "
18+ "vitest " : " ^1.6.0 "
2119 },
2220 "dependencies" : {
2321 "@fastify/cors" : " ^8.5.0" ,
Original file line number Diff line number Diff line change 1+ import { defineConfig } from 'vitest/config'
2+ import react from '@vitejs/plugin-react' ;
3+
4+ export default defineConfig ( {
5+ test : {
6+ globals : true ,
7+ environment : 'node' ,
8+ include : [ './test/*.spec.ts' ] ,
9+ } ,
10+ } ) ;
You can’t perform that action at this time.
0 commit comments