Skip to content

Commit 8962a5a

Browse files
committed
fix lint
1 parent a69dc2e commit 8962a5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/tracing-internal/test/browser/metrics/index.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,10 +261,10 @@ describe('_addResourceSpans', () => {
261261
});
262262
});
263263

264-
const setGlobalLocation = () => {
264+
const setGlobalLocation = (location: Location) => {
265265
// @ts-expect-error need to delete this in order to set to new value
266266
delete WINDOW.location;
267-
WINDOW.location = mockWindowLocation;
267+
WINDOW.location = location;
268268
};
269269

270270
const resetGlobalLocation = () => {

0 commit comments

Comments
 (0)