test: Move test timeout to /cli (no-changelog) (#6712)

This commit is contained in:
Iván Ovejero 2023-07-20 17:05:43 +02:00 committed by GitHub
parent b1838f7fab
commit 2a7f5437e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View file

@ -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') {

View file

@ -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,
}; };