mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 22:53:37 +08:00
7e6458a125
* 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>
13 lines
203 B
TypeScript
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 {};
|