We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a371a6 commit a69dc2eCopy full SHA for a69dc2e
packages/tracing-internal/test/browser/metrics/index.test.ts
@@ -261,14 +261,14 @@ describe('_addResourceSpans', () => {
261
});
262
263
264
-const setGlobalLocation = (location: Location) => {
+const setGlobalLocation = () => {
265
// @ts-expect-error need to delete this in order to set to new value
266
delete WINDOW.location;
267
WINDOW.location = mockWindowLocation;
268
};
269
270
const resetGlobalLocation = () => {
271
- // @ts-expect-error
+ // @ts-expect-error need to delete this in order to set to new value
272
273
WINDOW.location = originalLocation;
274
0 commit comments