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:
rgsubh 2020-07-01 09:07:14 +05:30 committed by GitHub
parent b7b3104215
commit 24a3a128bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 120 additions and 4 deletions

18
jest.config.js Normal file
View 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
}
}
}