1
0
mirror of https://github.com/flarum/core.git synced 2025-09-03 05:02:45 +02:00

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>
This commit is contained in:
Sami Mazouz
2023-02-10 23:02:50 +01:00
committed by GitHub
parent 675cdab658
commit 7e6458a125
9 changed files with 642 additions and 621 deletions

View File

@@ -13,6 +13,7 @@
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"js-yaml": "^4.1.0",
"mithril-query": "^4.0.1",
"ts-jest": "^29.0.3"
},
"devDependencies": {