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: Added test/custom-assertions.js to the apollo-server external versioned tests config #2817

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

bizob2828
Copy link
Member

Description

The external versioned tests were failing since merging: newrelic/newrelic-node-apollo-server-plugin#333. I added a file that was not included in the config for the apollo server tests.

How to Test

npm run versioned:external:major apollo-server

@bizob2828 bizob2828 added the dev:tests Indicates only changes to tests label Dec 5, 2024
@@ -19,6 +19,7 @@ const repos = [
additionalFiles: [
'tests/agent-testing.js',
'tests/create-apollo-server-setup.js',
'tests/custom-assertions.js',
Copy link
Member Author

Choose a reason for hiding this comment

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

i think long term we should prob move all these files into a tests/lib and then update this stanza to just include that folder

Copy link
Contributor

@jsumners-nr jsumners-nr left a comment

Choose a reason for hiding this comment

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

Oh boy. Good to know. There's going to be a big change in this after my PR.

@bizob2828
Copy link
Member Author

Oh boy. Good to know. There's going to be a big change in this after my PR

Then we def should move these files into a tests/lib folder

Copy link

codecov bot commented Dec 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.13%. Comparing base (3ec4fee) to head (c144906).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2817      +/-   ##
==========================================
- Coverage   97.17%   97.13%   -0.04%     
==========================================
  Files         294      294              
  Lines       46403    46403              
==========================================
- Hits        45091    45074      -17     
- Misses       1312     1329      +17     
Flag Coverage Δ
integration-tests-cjs-18.x 73.29% <ø> (ø)
integration-tests-cjs-20.x 73.31% <ø> (ø)
integration-tests-cjs-22.x 73.33% <ø> (ø)
unit-tests-18.x 88.96% <ø> (ø)
unit-tests-20.x 88.96% <ø> (?)
unit-tests-22.x 88.96% <ø> (?)
versioned-tests-18.x 78.95% <ø> (-0.20%) ⬇️
versioned-tests-20.x 78.98% <ø> (-0.17%) ⬇️
versioned-tests-22.x 78.96% <ø> (-0.20%) ⬇️

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.

@bizob2828 bizob2828 merged commit 568525a into newrelic:main Dec 5, 2024
29 of 30 checks passed
@bizob2828 bizob2828 deleted the fix-apollo-test branch December 5, 2024 18:06
@github-actions github-actions bot mentioned this pull request Dec 9, 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.

2 participants