feat(test): add jest test suite

This commit is contained in:
Vben
2021-06-17 22:56:21 +08:00
parent 154ebc3d96
commit f6fe1dd62d
33 changed files with 1898 additions and 209 deletions

View File

@@ -17,7 +17,7 @@
"noUnusedParameters": true,
"experimentalDecorators": true,
"lib": ["dom", "esnext"],
"types": ["vite/client"],
"types": ["vite/client", "jest"],
"typeRoots": ["./node_modules/@types/", "./types"],
"noImplicitAny": false,
"skipLibCheck": true,
@@ -27,6 +27,7 @@
}
},
"include": [
"tests/**/*.ts",
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.tsx",