framework/js-packages/jest-config/shims.d.ts
2024-09-28 15:47:45 +01:00

15 lines
333 B
TypeScript

import 'mithril-query/mithril-query';
declare global {
namespace jest {
interface Matchers<R> {
toHaveElement(selector: any): R;
toHaveElementAttr(selector: any, attribute: any, value: any): R;
toHaveElementAttr(selector: any, attribute: any): R;
toContainRaw(content: any): R;
}
}
}
export {};