-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
Flakiness Type
Other / Unknown
Name of Job
Node (22) Unit Tests
Name of Test
test/edge/edgeWrapperUtils.test.ts
Link to Test Run
https://github.com/getsentry/sentry-javascript/actions/runs/9890364073/job/27318708402
Details
Test suite failed to run
test/edge/edgeWrapperUtils.test.ts:6:28 - error TS2339: Property 'Request' does not exist on type 'Global & typeof globalThis'.
6 const origRequest = global.Request;
~~~~~~~
test/edge/edgeWrapperUtils.test.ts:7:29 - error TS2339: Property 'Response' does not exist on type 'Global & typeof globalThis'.
7 const origResponse = global.Response;
~~~~~~~~
test/edge/edgeWrapperUtils.test.ts:22:10 - error TS2339: Property 'Request' does not exist on type 'Global & typeof globalThis'.
22 global.Request = origRequest;
~~~~~~~
test/edge/edgeWrapperUtils.test.ts:23:10 - error TS2339: Property 'Response' does not exist on type 'Global & typeof globalThis'.
23 global.Response = origResponse;
~~~~~~~~
test/edge/edgeWrapperUtils.test.ts:32:41 - error TS2304: Cannot find name 'Response'.
32 const origFunctionReturnValue = new Response();
~~~~~~~~
test/edge/edgeWrapperUtils.test.ts:41:51 - error TS2304: Cannot find name 'Request'.
41 const returnValue = await wrappedFunction(new Request('https://sentry.io/'));
~~~~~~~
test/edge/edgeWrapperUtils.test.ts:60:38 - error TS2304: Cannot find name 'Request'.
60 await expect(wrappedFunction(new Request('https://sentry.io/'))).rejects.toBe(error);
~~~~~~~
test/edge/edgeWrapperUtils.test.ts:67:25 - error TS2552: Cannot find name 'Request'. Did you mean 'request'?
67 const request = new Request('https://sentry.io/');
~~~~~~~
test/edge/edgeWrapperUtils.test.ts:67:11
67 const request = new Request('https://sentry.io/');
~~~~~~~
'request' is declared here.
test/edge/edgeWrapperUtils.test.ts:68:46 - error TS2304: Cannot find name 'Response'.
68 const origFunction = jest.fn(_req => new Response());
~~~~~~~~
test/edge/edgeWrapperUtils.test.ts:97:41 - error TS2304: Cannot find name 'Response'.
97 const origFunctionReturnValue = new Response();