Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "jest": {
- "setupFiles": [
- "<rootDir>/tests/setup/test-shim.js",
- "<rootDir>/tests/setup/test-setup.js"
- ],
- "moduleFileExtensions": [
- "ts",
- "tsx",
- "js"
- ],
- "preset": "ts-jest/presets/js-with-ts",
- "transform": {
- "^.+\\.(ts|tsx)$": "ts-jest"
- },
- "moduleNameMapper": {
- "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/tests/setup/fileMock.js",
- "\\.(css|less)$": "<rootDir>/tests/setup/styleMock.js"
- },
- "moduleDirectories": [
- "node_modules",
- "src"
- ],
- "testMatch": [
- "**/tests/**/*.test.(ts|tsx|js)"
- ],
- "collectCoverage": false
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement