diff --git a/plugins/node/opentelemetry-instrumentation-mongodb/test/mongodb-v5-v6.test.ts b/plugins/node/opentelemetry-instrumentation-mongodb/test/mongodb-v5-v6.test.ts index 697c179f90..8b420dcc82 100644 --- a/plugins/node/opentelemetry-instrumentation-mongodb/test/mongodb-v5-v6.test.ts +++ b/plugins/node/opentelemetry-instrumentation-mongodb/test/mongodb-v5-v6.test.ts @@ -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