core.locationutils
Home > @medplum/core > locationUtils
locationUtils variable
Location utilities that can be mocked in tests. These functions wrap location calls to avoid JSDOM 23+ restrictions.
Signature:
locationUtils: {
assign(url: string): void;
reload(): void;
getSearch(): string;
getPathname(): string;
getLocation(): string;
getOrigin(): string;
}