mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 14:16:39 +08:00

* 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 {};
|