Skip to content

Commit

Permalink
fix node v14 compat for #4041 contribution (#4064)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlhunter committed Feb 14, 2024
1 parent 3d53fa4 commit 6bd882b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dd-trace/test/datastreams/writer.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe('DataStreamWriter unix', () => {
it("should call 'request' through flush with correct options", () => {
writer = new DataStreamsWriter(unixConfig)
writer.flush({})
const stubRequestCall = stubRequest.getCalls().at(0)
const stubRequestCall = stubRequest.getCalls()[0]
const decodedPayload = msgpack.decode(stubRequestCall?.args[0], { codec })
const requestOptions = stubRequestCall?.args[1]
expect(decodedPayload).to.deep.equal({})
Expand Down

0 comments on commit 6bd882b

Please sign in to comment.