Skip to content

Commit 73c3658

Browse files
committed
don't log dummy error in node scope separation test
1 parent f5c98e4 commit 73c3658

File tree

1 file changed

+3
-0
lines changed
  • packages/node/test/manual/express-scope-separation

1 file changed

+3
-0
lines changed

packages/node/test/manual/express-scope-separation/start.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ const express = require('express');
33
const app = express();
44
const Sentry = require('../../../build/cjs');
55

6+
// don't log the test errors we're going to throw, so at a quick glance it doesn't look like the test itself has failed
7+
global.console.error = () => null;
8+
69
function assertTags(actual, expected) {
710
if (JSON.stringify(actual) !== JSON.stringify(expected)) {
811
console.error('FAILED: Scope contains incorrect tags');

0 commit comments

Comments
 (0)