1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-10 07:50:05 +00:00

test: improved tests

This commit is contained in:
Yury Shkoda
2021-08-03 08:26:42 +03:00
parent b3c4425215
commit 8b1e79497f
7 changed files with 13 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
module.exports = {
preset: 'ts-jest',
preset: 'ts-jest/presets/js-with-ts',
testEnvironment: 'node',
coverageThreshold: {
global: {
@@ -9,5 +9,6 @@ module.exports = {
statements: -10
}
},
collectCoverageFrom: ['src/**/{!(index),}.ts']
collectCoverageFrom: ['src/**/{!(index),}.ts'],
testPathIgnorePatterns: ['/node_modules/', '<rootDir>/build/']
}