e2ed
Version:
E2E testing framework over Playwright
9 lines (8 loc) • 388 B
TypeScript
import type { Route } from '../../Route';
import type { Url } from '../../types/internal';
type MaybeUrlOrPath = Url | string | null | undefined;
/**
* Asserts that url or url path (which can be wrapped in a promise) match route.
*/
export declare const assertUrlMatchRoute: (maybeUrlOrPath: MaybeUrlOrPath | Promise<MaybeUrlOrPath>, route: Route<unknown>) => Promise<void>;
export {};