mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-03-24 09:33:42 -04:00
Silence debug in tests
This commit is contained in:
@@ -25,4 +25,5 @@ module.exports = {
|
||||
},
|
||||
|
||||
collectCoverageFrom: ['src/**/*.{ts,tsx}', '!src/**/*.d.ts'],
|
||||
silent: true,
|
||||
}
|
||||
@@ -36,6 +36,6 @@
|
||||
}
|
||||
],
|
||||
"compileOnSave": true,
|
||||
"include": ["src/**/*.ts", "package.json", "backend/api/package.json"],
|
||||
"include": ["src/**/*.ts", "package.json", "backend/api/package.json", "jest.config.ts"],
|
||||
"exclude": ["**/*.test.ts", "**/*.spec.ts"]
|
||||
}
|
||||
|
||||
@@ -22,4 +22,5 @@ module.exports = {
|
||||
},
|
||||
|
||||
collectCoverageFrom: ['src/**/*.{ts,tsx}', '!src/**/*.d.ts'],
|
||||
silent: true,
|
||||
}
|
||||
@@ -30,5 +30,5 @@
|
||||
"require": ["tsconfig-paths/register"]
|
||||
},
|
||||
"references": [{"path": "../../common"}, {"path": "../shared"}],
|
||||
"include": ["emails/**/*.ts", "emails/**/*.tsx"]
|
||||
"include": ["emails/**/*.ts", "emails/**/*.tsx", "jest.config.ts"]
|
||||
}
|
||||
|
||||
@@ -22,4 +22,5 @@ module.exports = {
|
||||
},
|
||||
|
||||
collectCoverageFrom: ['src/**/*.{ts,tsx}', '!src/**/*.d.ts'],
|
||||
silent: true,
|
||||
}
|
||||
@@ -27,6 +27,6 @@
|
||||
"path": "../../common"
|
||||
}
|
||||
],
|
||||
"include": ["src/**/*.ts", "src/**/*.tsx"],
|
||||
"include": ["src/**/*.ts", "src/**/*.tsx", "jest.config.ts"],
|
||||
"exclude": ["**/*.test.ts", "**/*.spec.ts"]
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
/** @type {import('ts-jest').JestConfigWithTsJest} */
|
||||
const {pathsToModuleNameMapper} = require('ts-jest')
|
||||
const {compilerOptions} = require('./tsconfig')
|
||||
import {readFileSync} from 'fs'
|
||||
import {pathsToModuleNameMapper} from 'ts-jest'
|
||||
|
||||
const {compilerOptions} = JSON.parse(readFileSync('./tsconfig.json', 'utf-8'))
|
||||
|
||||
module.exports = {
|
||||
preset: 'ts-jest',
|
||||
@@ -10,4 +11,5 @@ module.exports = {
|
||||
}),
|
||||
testMatch: ['**/*.test.ts'],
|
||||
collectCoverageFrom: ['src/**/*.{ts,tsx}', '!src/**/*.d.ts'],
|
||||
silent: true,
|
||||
}
|
||||
@@ -18,6 +18,6 @@
|
||||
"common/*": ["./src/*", "../lib/*"]
|
||||
}
|
||||
},
|
||||
"include": ["src/**/*.ts", "messages/*.json"],
|
||||
"include": ["src/**/*.ts", "messages/*.json", "jest.config.ts"],
|
||||
"exclude": ["**/*.test.ts", "**/*.spec.ts"]
|
||||
}
|
||||
|
||||
@@ -20,4 +20,5 @@ module.exports = {
|
||||
'<rootDir>/common',
|
||||
'<rootDir>/web',
|
||||
],
|
||||
silent: true,
|
||||
}
|
||||
@@ -22,4 +22,5 @@ module.exports = {
|
||||
},
|
||||
|
||||
collectCoverageFrom: ['src/**/*.{ts,tsx}', '!src/**/*.d.ts'],
|
||||
silent: true,
|
||||
}
|
||||
@@ -28,6 +28,6 @@
|
||||
"watchOptions": {
|
||||
"excludeDirectories": [".next"]
|
||||
},
|
||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "../common/src/**/*.ts"],
|
||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "../common/src/**/*.ts", "jest.config.ts"],
|
||||
"exclude": ["node_modules", "**/*.test.ts", "**/*.spec.ts"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user