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 fake agent to register ritm hooks #179

Merged
merged 2 commits into from
Aug 28, 2023
Merged

Conversation

bizob2828
Copy link
Member

@bizob2828 bizob2828 commented Aug 15, 2023

Proposed Release Notes

  • Updated the TestAgent to call shimmer.registerHooks and shimmer.removeHooks to set up instrumentation and remove it.

Links

This assumes the work in newrelic/node-newrelic#1758 is merged and released.

Details

This change isn't necessary until after release of the agent because I kept those functions. Technically shimmer.registerHooks should now be called after bootstrapping instrumentation but it's ok for now.

@mrickard mrickard self-assigned this Aug 16, 2023
mrickard
mrickard previously approved these changes Aug 16, 2023
@bizob2828
Copy link
Member Author

We will have to wait to merge this until after we release 11.0.0 because the tests will not pass

@codecov
Copy link

codecov bot commented Aug 28, 2023

Codecov Report

Merging #179 (5bc3767) into main (3d0713e) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #179   +/-   ##
=======================================
  Coverage   77.97%   77.97%           
=======================================
  Files          15       15           
  Lines        2424     2424           
=======================================
  Hits         1890     1890           
  Misses        534      534           
Flag Coverage Δ
unit-tests-16.x 77.97% <100.00%> (ø)
unit-tests-18.x 77.97% <100.00%> (ø)
unit-tests-20.x 77.97% <100.00%> (ø)

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

Files Changed Coverage Δ
lib/agent.js 98.44% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@bizob2828 bizob2828 changed the title chore!: updated fake agent to register ritm hooks chore: updated fake agent to register ritm hooks Aug 28, 2023
@bizob2828 bizob2828 merged commit b12d631 into main Aug 28, 2023
10 checks passed
@github-actions github-actions bot mentioned this pull request Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants