MCPcopy
hub / github.com/epicweb-dev/epic-stack / CustomMatchers

Interface CustomMatchers

tests/setup/custom-matchers.ts:157–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155})
156
157interface CustomMatchers<R = unknown> {
158 toHaveRedirect(redirectTo: string | null): R
159 toHaveSessionForUser(userId: string): Promise<R>
160 toSendToast(toast: ToastInput): Promise<R>
161}
162
163declare module 'vitest' {
164 interface Assertion<T = any> extends CustomMatchers<T> {}

Calls

no outgoing calls

Tested by

no test coverage detected