core.locationutils
Home > @medplum/core > locationUtils
locationUtils variable
Location helpers that can be mocked alongside the rest of this module. Centralizes location access to work around JSDOM 23+ behavior in test environments.
Signature:
locationUtils: {
assign(url: string): void;
reload(): void;
getSearch(): string;
getPathname(): string;
getLocation(): string;
getOrigin(): string;
}