-
Notifications
You must be signed in to change notification settings - Fork 437
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
test: use a JavaScript based config file format #1634
Conversation
…config. Co-authored-by: mShan0 <[email protected]> Co-authored-by: Michael Sun <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1634 +/- ##
==========================================
+ Coverage 78.48% 79.16% +0.67%
==========================================
Files 93 93
Lines 4861 4861
Branches 933 933
==========================================
+ Hits 3815 3848 +33
+ Misses 750 709 -41
- Partials 296 304 +8 ☔ View full report in Codecov by Sentry. |
…thur/test-js-config
…le across different tests.
25b6974
to
628a3c2
Compare
package.json
Outdated
@@ -85,7 +85,7 @@ | |||
"docs": "typedoc", | |||
"lint": "eslint src test --ext .js,.ts && tsc", | |||
"test": "mocha --forbid-only test/unit test/unit/token test/unit/tracking-buffer", | |||
"test-integration": "mocha --forbid-only test/integration/", | |||
"test-integration": "mocha test/integration/", |
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.
Hi @arthurschreiber , is this forbid-only removed by an accident or it will inference with the new configuration handle for integration test? Or just for easy debugging?
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.
Ah, no, that's a mistake and needs to be reverted before this can be merged. Good catch!
🎉 This PR is included in version 18.2.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This replaces the previously used JSON based configuration file with a JavaScript based configuration file.
The new config format allows to represent configurations that wouldn't have been possible with the JSON format, like the proposed token credential support.