-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Storage] Exclude dotenv
package from nyc code coverage
#2820
Labels
Milestone
Comments
14 tasks
26 tasks
23 tasks
3 tasks
I believe it is because we are running code coverage on the bundled single file. I tried running nyc test on unbundled files (with the help of
|
jeremymeng
added a commit
to jeremymeng/azure-sdk-for-js
that referenced
this issue
Dec 18, 2019
The code coverage report include data for dependencies (`dotenv` for example). This is because we run the test on the one single bundled file, while nyc exclusion works by not instrumenting imported or required modules in the exclusion list. This change run nyc on individual spec.js files instead. A dev dependency `esm` is introduced so that nyc can load our test modules. NodeJS part of Azure#2820.
jeremymeng
added a commit
that referenced
this issue
Dec 18, 2019
The code coverage report include data for dependencies (`dotenv` for example). This is because we run the test on the one single bundled file, while nyc exclusion works by not instrumenting imported or required modules in the exclusion list. This change run nyc on individual spec.js files instead. A dev dependency `esm` is introduced so that nyc can load our test modules. NodeJS part of #2820.
browser part: #6666 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
#2297 (comment)
The text was updated successfully, but these errors were encountered: