diff options
author | Sebastian <sebasjm@gmail.com> | 2022-12-20 15:42:53 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-12-20 15:42:53 -0300 |
commit | 382e66b179d6fda2598936196b2ae1b97bfab8ef (patch) | |
tree | 84b6be6a6f83626ece36160e102c22c94ab7132b /packages/merchant-backoffice-ui/package.json | |
parent | 1500c91f36da96226af1226c10bdd83c55c92c23 (diff) | |
download | wallet-core-382e66b179d6fda2598936196b2ae1b97bfab8ef.tar.xz |
fix testing not compiling
Diffstat (limited to 'packages/merchant-backoffice-ui/package.json')
-rw-r--r-- | packages/merchant-backoffice-ui/package.json | 6 |
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", |