Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikB2014 committed Jan 18, 2024
1 parent a69dc2e commit 8962a5a
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,10 +261,10 @@ describe('_addResourceSpans', () => {
});
});

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

const resetGlobalLocation = () => {
Expand Down

0 comments on commit 8962a5a

Please sign in to comment.