mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
test: Move test timeout to /cli
(no-changelog) (#6712)
This commit is contained in:
parent
b1838f7fab
commit
2a7f5437e6
|
@ -26,7 +26,6 @@ const config = {
|
||||||
collectCoverage: true,
|
collectCoverage: true,
|
||||||
coverageReporters: [process.env.COVERAGE_REPORT === 'true' ? 'text' : 'text-summary'],
|
coverageReporters: [process.env.COVERAGE_REPORT === 'true' ? 'text' : 'text-summary'],
|
||||||
collectCoverageFrom: ['src/**/*.ts'],
|
collectCoverageFrom: ['src/**/*.ts'],
|
||||||
testTimeout: 10_000,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
if (process.env.CI === 'true') {
|
if (process.env.CI === 'true') {
|
||||||
|
|
|
@ -12,4 +12,5 @@ module.exports = {
|
||||||
'^@db/(.*)$': '<rootDir>/src/databases/$1',
|
'^@db/(.*)$': '<rootDir>/src/databases/$1',
|
||||||
},
|
},
|
||||||
coveragePathIgnorePatterns: ['/src/databases/migrations/'],
|
coveragePathIgnorePatterns: ['/src/databases/migrations/'],
|
||||||
|
testTimeout: 10_000,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue