mirror of https://github.com/buster-so/buster.git
Update index.test.ts
This commit is contained in:
parent
468511d8cb
commit
2705b180ac
|
@ -38,11 +38,13 @@ describe('createFullURL', () => {
|
||||||
pathname: '/reports/123',
|
pathname: '/reports/123',
|
||||||
search: { tab: 'overview' },
|
search: { tab: 'overview' },
|
||||||
searchStr: '?tab=overview',
|
searchStr: '?tab=overview',
|
||||||
state: {},
|
state: { __TSR_index: 0 },
|
||||||
hash: '',
|
hash: '',
|
||||||
key: 'test-key',
|
key: 'test-key',
|
||||||
maskedLocation: undefined,
|
maskedLocation: undefined,
|
||||||
} as ParsedLocation;
|
publicHref: '/reports/123?tab=overview',
|
||||||
|
url: '/reports/123?tab=overview',
|
||||||
|
} as unknown as ParsedLocation;
|
||||||
|
|
||||||
const result = createFullURL(mockLocation);
|
const result = createFullURL(mockLocation);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue