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 d9297c3 commit 0f7bf23Copy full SHA for 0f7bf23
packages/nextjs/test/integration/test/server/tracingHttp.js
@@ -40,7 +40,10 @@ module.exports = async ({ url: urlBase, argv }) => {
40
'tracingHttp',
41
);
42
43
- await getAsync(url);
+ // The `true` causes `getAsync` to rewrap `http.get` in next 12, since it will have been overwritten by the import of
44
+ // `nock` above. See https://github.com/getsentry/sentry-javascript/pull/4619.
45
+ // TODO: see note in `getAsync` about removing the boolean
46
+ await getAsync(url, true);
47
await sleep(250);
48
49
assert.ok(capturedRequest.isDone(), 'Did not intercept expected request');
0 commit comments