ripple
Version:
Ripple is an elegant TypeScript UI framework
15 lines (12 loc) • 366 B
TypeScript
export {};
interface CustomMatchers<R = unknown> {
/**
* Compares HTML strings after stripping hydration markers.
* Hydration markers are: <!--[--> <!--[!--> <!--]-->
*/
toBeHtml(expected: string): R;
}
declare module 'vitest' {
interface Assertion<T = any> extends CustomMatchers<T> {}
interface AsymmetricMatchersContaining extends CustomMatchers {}
}