Skip to content

Commit

Permalink
Update plugins/node/opentelemetry-instrumentation-mongodb/test/mongod…
Browse files Browse the repository at this point in the history
…b-v5-v6.test.ts

Co-authored-by: Marc Pichler <[email protected]>
  • Loading branch information
david-luna and pichlermarc authored Jul 3, 2024
1 parent 8a1b3e8 commit 46c9169
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ describe('MongoDBInstrumentation-Tracing-v5', () => {
if (data.n) {
span.setAttribute('mongodb_insert_count', result.data.n);
}
// from v6.8.0 the cursor preoperty is not an object but an intance of
// from v6.8.0 the cursor property is not an object but an instance of
// `CursorResponse`. We need to use the `toObject` method to be able to inspect the data
const cursorObj = data.cursor.firstBatch
? data.cursor
Expand Down

0 comments on commit 46c9169

Please sign in to comment.