We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b225765 commit b80980eCopy full SHA for b80980e
1 file changed
dev-packages/e2e-tests/test-applications/node-profiling/index.mjs
@@ -14,7 +14,8 @@ Sentry.startSpan({ name: 'Precompile test' }, async () => {
14
await wait(500);
15
});
16
17
-// assert that we dont override require
+//Test that globalThis.require is not defined by any side effects of the profiling
18
+// https://github.com/getsentry/sentry-javascript/issues/13662
19
if (globalThis.require !== undefined) {
20
throw new Error('globalThis.require should not be defined, check that profiling integration is not defining it');
21
}
0 commit comments