Skip to content

Commit

Permalink
🔧 Increase test timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
cermakjiri committed Nov 15, 2024
1 parent dcbb5ee commit 348ba82
Showing 1 changed file with 23 additions and 22 deletions.
45 changes: 23 additions & 22 deletions jest.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,28 @@
* @type {import('ts-jest').JestConfigWithTsJest}
*/
export default {
testEnvironment: "node",
moduleFileExtensions: ["ts", "js", "json"],
testMatch: ["<rootDir>/packages/*/src/**/__tests__/**/*.test.ts"],
transform: {
"\\.ts$": [
"ts-jest",
{
diagnostics: { warnOnly: true },
},
],
},
coverageReporters: ["lcov", "text-summary"],
collectCoverageFrom: ["packages/*/src/**/*.ts"],
coveragePathIgnorePatterns: ["/templates/"],
coverageThreshold: {
global: {
branches: 100,
functions: 100,
lines: 100,
statements: 100,
testEnvironment: 'node',
moduleFileExtensions: ['ts', 'js', 'json'],
testMatch: ['<rootDir>/packages/*/src/**/__tests__/**/*.test.ts'],
transform: {
'\\.ts$': [
'ts-jest',
{
diagnostics: { warnOnly: true },
},
],
},
},
resolver: "<rootDir>/test-utils/resolver",
coverageReporters: ['lcov', 'text-summary'],
collectCoverageFrom: ['packages/*/src/**/*.ts'],
coveragePathIgnorePatterns: ['/templates/'],
testTimeout: 10_000,
coverageThreshold: {
global: {
branches: 100,
functions: 100,
lines: 100,
statements: 100,
},
},
resolver: '<rootDir>/test-utils/resolver',
};

0 comments on commit 348ba82

Please sign in to comment.