Skip to content

Commit

Permalink
chore: Converted errors unit tests to node:test (newrelic#2540)
Browse files Browse the repository at this point in the history
Co-authored-by: Bob Evans <[email protected]>
  • Loading branch information
2 people authored and sumitsuthar committed Sep 20, 2024
1 parent 351aaff commit 3ad5413
Show file tree
Hide file tree
Showing 8 changed files with 1,866 additions and 1,962 deletions.
2 changes: 1 addition & 1 deletion lib/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ Config.prototype.logUnknown = function logUnknown(json, key) {
/**
* Gets the user set host display name. If not provided, it returns the default value.
*
* This function is written is this strange way because of the use of caching variables.
* This function is written in this strange way because of the use of caching variables.
* I wanted to cache the DisplayHost, but if I attached the variable to the config object,
* it sends the extra variable to New Relic, which is not desired.
*
Expand Down
Loading

0 comments on commit 3ad5413

Please sign in to comment.