Skip to content

Commit b865ad9

Browse files
committed
attempt to fix integration tests
1 parent 9abd87a commit b865ad9

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

packages/integration-tests/utils/helpers.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,15 @@ async function getMultipleRequests(
8787
if (urlRgx.test(request.url())) {
8888
try {
8989
reqCount -= 1;
90-
requestData.push(requestParser(request));
90+
91+
// TODO: This is to compensate for a temporary debugging hack which adds data the tests aren't anticipating to
92+
// the request. The code can be restored to its original form (the commented-out line below) once that hack is
93+
// removed. See https://github.com/getsentry/sentry-javascript/pull/4425.
94+
const parsedRequest = requestParser(request);
95+
delete (parsedRequest.tags || {}).skippedNormalization;
96+
requestData.push(parsedRequest);
97+
// requestData.push(requestParser(request));
98+
9199
if (reqCount === 0) {
92100
resolve(requestData);
93101
}

0 commit comments

Comments
 (0)