Skip to content

Commit b80980e

Browse files
committed
ref: add issue comment
1 parent b225765 commit b80980e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • dev-packages/e2e-tests/test-applications/node-profiling

dev-packages/e2e-tests/test-applications/node-profiling/index.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ Sentry.startSpan({ name: 'Precompile test' }, async () => {
1414
await wait(500);
1515
});
1616

17-
// assert that we dont override require
17+
//Test that globalThis.require is not defined by any side effects of the profiling
18+
// https://github.com/getsentry/sentry-javascript/issues/13662
1819
if (globalThis.require !== undefined) {
1920
throw new Error('globalThis.require should not be defined, check that profiling integration is not defining it');
2021
}

0 commit comments

Comments
 (0)