mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
Add jest and puppeteer for testing
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
module.exports = {
|
||||
"roots": [
|
||||
"<rootDir>/test"
|
||||
],
|
||||
"testMatch": [
|
||||
"**/__tests__/**/*.+(ts|tsx|js)",
|
||||
"**/?(*.)+(spec|test).+(ts|tsx|js)"
|
||||
],
|
||||
"transform": {
|
||||
"^.+\\.(ts|tsx)$": "ts-jest"
|
||||
},
|
||||
// "globalSetup": "<rootDir>/test/setupJest.ts",
|
||||
preset: 'jest-puppeteer',
|
||||
// setupFilesAfterEnv: "<rootDir>/test/setupJest.ts",
|
||||
}
|
||||
Reference in New Issue
Block a user