mirror of
https://github.com/Safe-Support-Chat/ocrcc-chatbox
synced 2024-11-21 18:24:54 +00:00
adding test coverage
This commit is contained in:
parent
112167c078
commit
0615960121
@ -8,6 +8,9 @@ jobs:
|
||||
- run:
|
||||
name: dep install
|
||||
command: npm install
|
||||
- run:
|
||||
name: install codecov
|
||||
command: npm install -g codecov
|
||||
- run:
|
||||
name: test
|
||||
command: npm test
|
||||
command: npm test && codecov
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
node_modules
|
||||
coverage
|
||||
|
@ -14,6 +14,8 @@
|
||||
]
|
||||
},
|
||||
"jest": {
|
||||
"coverageDirectory": "./coverage/",
|
||||
"collectCoverage": true,
|
||||
"transform": {
|
||||
"^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest",
|
||||
"^.+\\.(css|scss)$": "<rootDir>/jest/cssTransform.js",
|
||||
|
Loading…
Reference in New Issue
Block a user