Skip to content

Commit 2a49051

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

File tree

1 file changed

+2
-1
lines changed
  • dev-packages/e2e-tests/test-applications/node-profiling

1 file changed

+2
-1
lines changed

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

+2-1
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)