Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikB2014 committed Jan 18, 2024
1 parent 7a371a6 commit a69dc2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/tracing-internal/test/browser/metrics/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,14 +261,14 @@ describe('_addResourceSpans', () => {
});
});

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

const resetGlobalLocation = () => {
// @ts-expect-error
// @ts-expect-error need to delete this in order to set to new value
delete WINDOW.location;
WINDOW.location = originalLocation;
};

0 comments on commit a69dc2e

Please sign in to comment.