UNPKG

e2ed

Version:

E2E testing framework over Playwright

9 lines (8 loc) 390 B
import type { Route } from '../../Route'; import type { MaybePromise, 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: MaybePromise<MaybeUrlOrPath>, route: Route<unknown>) => Promise<void>; export {};