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

chore: Updated config integration tests to node:test #2777

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

jsumners-nr
Copy link
Contributor

This PR resolves #2767.

Copy link

codecov bot commented Nov 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.21%. Comparing base (78f2709) to head (cc17c24).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2777      +/-   ##
==========================================
- Coverage   97.26%   97.21%   -0.05%     
==========================================
  Files         294      294              
  Lines       46315    46315              
==========================================
- Hits        45047    45025      -22     
- Misses       1268     1290      +22     
Flag Coverage Δ
integration-tests-cjs-18.x 74.28% <ø> (+<0.01%) ⬆️
integration-tests-cjs-20.x 74.29% <ø> (ø)
integration-tests-cjs-22.x 74.32% <ø> (ø)
integration-tests-esm-18.x 49.97% <ø> (ø)
integration-tests-esm-20.x 49.98% <ø> (ø)
integration-tests-esm-22.x 50.00% <ø> (ø)
unit-tests-18.x 88.98% <ø> (ø)
unit-tests-20.x 88.98% <ø> (ø)
unit-tests-22.x 88.99% <ø> (ø)
versioned-tests-18.x 78.99% <ø> (-0.20%) ⬇️
versioned-tests-20.x 78.99% <ø> (-0.20%) ⬇️
versioned-tests-22.x 79.03% <ø> (-0.17%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@@ -3,3 +3,4 @@ files:
# We can't do a simple '**/*.test.js' because the "uninstrumented" suite
# includes a `node_modules` directory that includes several `.tests.js` files.
- 'test/integration/*.test.js'
- 'test/integration/config/*.test.js'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't we just change the line above to be test/integration/**/*.test.js?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. The comment directly preceding these entries explains why.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but I don't see any files in uninstrumented with .test.js in it

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, they are in node_modules. I'd prefer we add a glob to exclude those instead of specifying every folder we have in integration tests, this will become unwieldy

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bizob2828 okay, we'll need mcollina/borp#127 to be released in order to do that.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i won't hold this up. we can also upgrade and remove these entries

@jsumners-nr jsumners-nr added the dev:tests Indicates only changes to tests label Nov 21, 2024
@jsumners-nr jsumners-nr merged commit fe8d2df into newrelic:main Nov 21, 2024
27 of 28 checks passed
@jsumners-nr jsumners-nr deleted the issue-2767 branch November 21, 2024 17:13
@github-actions github-actions bot mentioned this pull request Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev:tests Indicates only changes to tests
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Migrate config integration tests to node:test
2 participants