Skip to content

Commit

Permalink
[pinpoint-apm#251] Functional Test port number
Browse files Browse the repository at this point in the history
  • Loading branch information
feelform committed Dec 24, 2024
1 parent 729bdf4 commit f76a7f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/support/agent-singleton-mock.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,10 @@ class MockAgent extends Agent {
}

function portProperties(conf) {
if (!conf) {
return conf
}

if (typeof conf !== 'number') {
if (conf.collector) {
return conf
Expand Down

0 comments on commit f76a7f5

Please sign in to comment.