Skip to content

Commit

Permalink
pinpoint-apm#92 Fix once no function error
Browse files Browse the repository at this point in the history
  • Loading branch information
feelform committed Sep 12, 2023
1 parent a727415 commit af299e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/client/grpc-data-sender-bidirectional-stream.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,9 @@ test.skip('when ping stream write throw a error, gRPC bidirectional stream Ping
end: function () {
this.writable = false
currentStream.end()
},
once: function (eventName, cb) {
currentStream.once(eventName, cb)
}
}
this.grpcDataSender.sendPing()
Expand Down

0 comments on commit af299e0

Please sign in to comment.