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

test(deploy): cover deploy route with unit test

This commit is contained in:
Yury Shkoda
2021-07-09 08:28:33 +03:00
parent b4bf72f704
commit febdeed2c5
7 changed files with 3500 additions and 13 deletions

13
jest.config.js Normal file
View File

@@ -0,0 +1,13 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
coverageThreshold: {
global: {
branches: 80,
functions: 80,
lines: 80,
statements: -10
}
},
collectCoverageFrom: ['src/**/{!(index),}.ts']
}