Setup for L0 Testcases (#6)
* SetUp for L0 TestCases * Issue Fix * Issue Fix * Issue Fix * Issue Fix * Issue Fix * Issue Fix * Review comments fix: run npm install only with our build, npm install only dev for releases * Running code covrage only on PR of master and releases
This commit is contained in:
parent
b7b3104215
commit
24a3a128bc
8 changed files with 120 additions and 4 deletions
18
jest.config.js
Normal file
18
jest.config.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
module.exports = {
|
||||
clearMocks: true,
|
||||
moduleFileExtensions: ['js', 'ts'],
|
||||
testEnvironment: 'node',
|
||||
testMatch: ['**/*.test.ts'],
|
||||
transform: {
|
||||
'^.+\\.ts$': 'ts-jest'
|
||||
},
|
||||
verbose: true,
|
||||
coverageThreshold: {
|
||||
"global": {
|
||||
"branches": 0,
|
||||
"functions": 14,
|
||||
"lines": 27,
|
||||
"statements": 27
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue