framework/js-packages/jest-config/shims.d.ts
Sami Mazouz 7e6458a125
feat(jest): mithril component testing (#3679)
* feat(jest): create jest config package for unit testing
* chore: housekeeping
* fix: now we need to explicitly allow importing without extension
* fix: recover EditorDriverInterface import
* feat(jest): mithril component testing
* fix: use separate `tsconfig.test.json`

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-02-10 23:02:50 +01:00

13 lines
203 B
TypeScript

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