UNPKG

reblend-testing-library

Version:

Simple and complete Reblendjs testing utilities that encourage good testing practices.

15 lines (14 loc) 387 B
export function toWarnDev(callback: any, expectedMessages: any, options?: {}, ...args: any[]): { message: () => any; pass: boolean; } | { pass: boolean; message?: undefined; }; export function toErrorDev(callback: any, expectedMessages: any, options?: {}, ...args: any[]): { message: () => any; pass: boolean; } | { pass: boolean; message?: undefined; };