Files
p0tion/jest.json
ctrlc03 280ca9880d test(setup tests): implemented e2e and unit tests around the Setup action
Implemented e2e and unit tests for the Setup action and its supporting helpers such as storage
functions. Additionally implemented mock utilities for tests.
Note: This is WIP.

fix #276
2023-01-27 18:37:58 +00:00

32 lines
831 B
JSON

{
"testPathIgnorePatterns": [".d.ts", ".js"],
"moduleFileExtensions": ["ts", "js"],
"transform": {
"\\.(t|j)s?$": "babel-jest"
},
"testMatch": ["**/test/**/*.test.*"],
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.json"
}
},
"moduleNameMapper": {
"@zkmpc/(.*)$": "<rootDir>/packages/$1"
},
"testTimeout": 1000000,
"setupFiles": ["dotenv/config"],
"collectCoverageFrom": ["packages/**/*", "!**/dist/**", "!**/node_modules/**", "!**/build/**"],
"verbose": true,
"collectCoverage": true,
"coverageDirectory": "coverage/",
"coverageProvider": "v8",
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 95,
"lines": 95,
"statements": 95
}
}
}