Skip to content

Commit 1494f45

Browse files
committed
remove custom timeout
1 parent 2bc6ccb commit 1494f45

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/datadog-plugin-mongodb-core/test/mongodb.spec.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,7 @@ describe('Plugin', () => {
341341
})
342342

343343
describe('with dbmPropagationMode service', () => {
344-
before(function () {
345-
this.timeout(10000)
344+
before(() => {
346345
return agent.load('mongodb-core', {
347346
dbmPropagationMode: 'service'
348347
})
@@ -392,8 +391,7 @@ describe('Plugin', () => {
392391
})
393392

394393
describe('with dbmPropagationMode full', () => {
395-
before(function () {
396-
this.timeout(10000)
394+
before(() => {
397395
return agent.load('mongodb-core', {
398396
dbmPropagationMode: 'full'
399397
})

0 commit comments

Comments
 (0)