-
Notifications
You must be signed in to change notification settings - Fork 5.9k
feat(testing): add code coverage #2621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(testing): add code coverage #2621
Conversation
ea14f81
to
73a8fda
Compare
@@ -37,7 +37,6 @@ | |||
"@types/http-proxy": "^1.17.4", | |||
"@types/js-yaml": "^3.12.3", | |||
"@types/node": "^12.12.7", | |||
"@types/node-fetch": "^2.5.7", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved to ./test/package.json
.
@@ -15,7 +15,7 @@ | |||
"sourceMap": true, | |||
"tsBuildInfoFile": "./.cache/tsbuildinfo", | |||
"incremental": true, | |||
"typeRoots": ["./node_modules/@types", "./typings"], | |||
"typeRoots": ["./node_modules/@types", "./typings", "./test/node_modules/@types"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
7b1b3d5
to
d00dc17
Compare
d00dc17
to
05beccf
Compare
c5b820f
to
ac127f6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
This solution made possible thanks to @code-asher
jest
setup to play nicely with TS +lib/vscode