Skip to content
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

Merged
merged 47 commits into from
Jun 26, 2024

Conversation

arthurschreiber
Copy link
Collaborator

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.

Copy link

codecov bot commented Jun 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.16%. Comparing base (025ef72) to head (adecc6e).
Report is 1 commits behind head on master.

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.
📢 Have feedback on the report? Share it here.

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/",
Copy link
Contributor

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?

Copy link
Collaborator Author

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!

@arthurschreiber arthurschreiber merged commit 3cd7e86 into master Jun 26, 2024
24 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants