Skip to content

Commit 4decf68

Browse files
committed
silence download logs in mongo test
1 parent e1b4616 commit 4decf68

File tree

1 file changed

+3
-0
lines changed
  • packages/node-integration-tests/suites/tracing/auto-instrument/mongodb

1 file changed

+3
-0
lines changed

packages/node-integration-tests/suites/tracing/auto-instrument/mongodb/scenario.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ import '@sentry/tracing';
33
import * as Sentry from '@sentry/node';
44
import { MongoClient } from 'mongodb';
55

6+
// suppress logging of the mongo download
7+
global.console.log = () => null;
8+
69
Sentry.init({
710
dsn: 'https://[email protected]/1337',
811
release: '1.0',

0 commit comments

Comments
 (0)