Skip to content

Commit 9089927

Browse files
committed
fix(tests): move to jest as mocha was getting difficult with ts
1 parent 9633b7d commit 9089927

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

package.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@
5757
"react-dom": ">=17.0.0"
5858
},
5959
"dependencies": {
60+
"prop-types": "^15.7.2",
61+
"uuid": "^8.3.2"
62+
},
63+
"devDependencies": {
6064
"@open-wc/building-rollup": "^2.0.1",
6165
"@rollup/plugin-typescript": "^8.3.1",
6266
"@testing-library/jest-dom": "^5.16.3",
@@ -71,15 +75,11 @@
7175
"eslint-plugin-react-hooks": "^4.4.0",
7276
"jest": "^27.5.1",
7377
"postcss": "^8.4.12",
74-
"prop-types": "^15.7.2",
7578
"rollup-plugin-css": "^1.0.10",
7679
"rollup-plugin-terser": "^7.0.2",
7780
"ts-jest": "^27.1.4",
7881
"ts-node": "^10.7.0",
7982
"typescript": "^4.6.3",
80-
"uuid": "^8.3.2"
81-
},
82-
"devDependencies": {
8383
"@babel/cli": "^7.7.4",
8484
"@babel/core": "^7.7.4",
8585
"@babel/eslint-parser": "^7.17.0",
@@ -106,7 +106,6 @@
106106
"@svgr/rollup": "6.2.1",
107107
"@testing-library/react": "12",
108108
"@types/expect": "^24.3.0",
109-
"@types/mocha": "^9.1.0",
110109
"babel-loader": "8.2.4",
111110
"babelify": "10.0.0",
112111
"browserify": "17.0.0",
@@ -137,9 +136,7 @@
137136
"jest-scss-transform": "^1.0.1",
138137
"jsdom": "19.0.0",
139138
"lint-staged": "12.3.7",
140-
"mocha": "9.2.2",
141139
"mocha-each": "^2.0.1",
142-
"mocha-jsdom": "^2.0.0",
143140
"npm-run-all": "^4.1.5",
144141
"postcss-nested": "^5.0.6",
145142
"postcss-simple-vars": "6.0.3",
@@ -164,7 +161,6 @@
164161
"stylelint": "^14.6.1",
165162
"stylelint-config-standard": "25.0.0",
166163
"stylelint-config-standard-scss": "^3.0.0",
167-
"ts-mocha": "^9.0.2",
168164
"uglifyjs": "^2.4.10",
169165
"watchify": "4.0.0"
170166
},

0 commit comments

Comments
 (0)