-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: (strf-8608) replaced lab+code+sinon with jest
- Loading branch information
MaxGenash
committed
Sep 9, 2020
1 parent
5f89a04
commit 71e952f
Showing
42 changed files
with
1,387 additions
and
2,389 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ jspm_packages | |
node_modules | ||
npm-debug.log | ||
.DS_Store | ||
.coverage/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,5 @@ cache: | |
install: | ||
- npm install | ||
script: | ||
- npm test | ||
- npm run lint | ||
- npm run test-with-coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ Program | |
.parse(process.argv); | ||
|
||
if (!versionCheck()) { | ||
return; | ||
process.exit(2); | ||
} | ||
|
||
release(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// For a detailed explanation regarding each configuration property, visit: | ||
// https://jestjs.io/docs/en/configuration.html | ||
|
||
module.exports = { | ||
collectCoverage: false, | ||
collectCoverageFrom: [ | ||
'./bin/**/*.js', | ||
'./server/**/*.js', | ||
'./lib/**/*.js', | ||
'./tasks/**/*.js', | ||
], | ||
coverageDirectory: './.coverage', | ||
coverageThreshold: { | ||
global: { | ||
branches: 33, | ||
functions: 47, | ||
lines: 47, | ||
statements: 47, | ||
}, | ||
}, | ||
moduleFileExtensions: [ | ||
"js", | ||
"json", | ||
"node", | ||
], | ||
testEnvironment: "node", | ||
testMatch: [ | ||
"**/__tests__/**/*.[jt]s", | ||
"**/?(*.)+(spec|test).[tj]s", | ||
], | ||
}; |
Oops, something went wrong.