Skip to content

Commit c9fe753

Browse files
committed
fix linting?
1 parent 2db894d commit c9fe753

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

packages/nextjs/test/edge/edgeWrapperUtils.test.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ import { SEMANTIC_ATTRIBUTE_SENTRY_SOURCE } from '@sentry/core';
33

44
import { withEdgeWrapping } from '../../src/common/utils/edgeWrapperUtils';
55

6-
// @ts-expect-error Request does not exist on type Global
76
const origRequest = global.Request;
8-
// @ts-expect-error Response does not exist on type Global
97
const origResponse = global.Response;
108

119
// @ts-expect-error Request does not exist on type Global
@@ -21,9 +19,7 @@ global.Request = class Request {
2119
global.Response = class Request {};
2220

2321
afterAll(() => {
24-
// @ts-expect-error Request does not exist on type Global
2522
global.Request = origRequest;
26-
// @ts-expect-error Response does not exist on type Global
2723
global.Response = origResponse;
2824
});
2925

packages/nextjs/test/edge/withSentryAPI.test.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ import { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE } fr
33

44
import { wrapApiHandlerWithSentry } from '../../src/edge';
55

6-
// @ts-expect-error Request does not exist on type Global
76
const origRequest = global.Request;
8-
// @ts-expect-error Response does not exist on type Global
97
const origResponse = global.Response;
108

119
// @ts-expect-error Request does not exist on type Global
@@ -29,9 +27,7 @@ global.Request = class Request {
2927
global.Response = class Response {};
3028

3129
afterAll(() => {
32-
// @ts-expect-error Request does not exist on type Global
3330
global.Request = origRequest;
34-
// @ts-expect-error Response does not exist on type Global
3531
global.Response = origResponse;
3632
});
3733

0 commit comments

Comments
 (0)