1
0
mirror of https://github.com/flarum/core.git synced 2025-08-30 11:30:21 +02:00

feat(jest): create jest config package for unit testing (#3678)

* 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
* Apply suggestions from code review
* chore: yarn

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
Sami Mazouz
2023-02-08 22:02:40 +01:00
committed by GitHub
parent 08dead81ce
commit e7fc29a59f
16 changed files with 2014 additions and 57 deletions

View File

@@ -0,0 +1,21 @@
{
"name": "flarum-jest-config",
"version": "1.0.0",
"description": "Jest config for Flarum.",
"main": "index.cjs",
"author": "Flarum Team",
"license": "MIT",
"type": "module",
"prettier": "@flarum/prettier-config",
"dependencies": {
"@types/jest": "^29.2.2",
"flat": "^5.0.2",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"js-yaml": "^4.1.0",
"ts-jest": "^29.0.3"
},
"devDependencies": {
"prettier": "^2.4.1"
}
}