aboutsummaryrefslogtreecommitdiff
path: root/packages/merchant-backoffice-ui/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'packages/merchant-backoffice-ui/package.json')
-rw-r--r--packages/merchant-backoffice-ui/package.json6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/merchant-backoffice-ui/package.json b/packages/merchant-backoffice-ui/package.json
index b78b3636c..085f92d76 100644
--- a/packages/merchant-backoffice-ui/package.json
+++ b/packages/merchant-backoffice-ui/package.json
@@ -8,7 +8,7 @@
"check": "tsc",
"compile": "tsc && ./build.mjs",
"dev": "preact watch --port ${PORT:=8080} --no-sw --no-esm",
- "test": "pnpm compile && mocha --require source-map-support/register 'dist/**/test.js'",
+ "test": "pnpm compile && mocha --require source-map-support/register '*.test.js' 'dist/**/test.js'",
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
"i18n:extract": "pogen extract",
"i18n:merge": "pogen merge",
@@ -51,7 +51,7 @@
"@testing-library/preact-hooks": "^1.1.0",
"@types/history": "^4.7.8",
"@types/jest": "^26.0.23",
- "@types/mocha": "^8.2.2",
+ "@types/mocha": "^8.2.3",
"@types/node": "^18.8.5",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
@@ -73,6 +73,8 @@
"inline-chunk-html-plugin": "^1.1.1",
"jest": "^26.6.3",
"jest-preset-preact": "^4.0.2",
+ "mocha": "^9.2.0",
+ "preact-render-to-string": "^5.2.6",
"rimraf": "^3.0.2",
"sass": "1.56.1",
"typedoc": "^0.20.36",