Skip to content

Commit e843510

Browse files
authored
build(deps): Move mocha dependency to browser package (#10181)
This is only used there, and somehow suddenly seemed to mess with my `Jest` globals... Also removing `@types/mocha` which seems to have no effect (?) on the build, but somehow polluted TS...
1 parent c1bd3d5 commit e843510

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797
"@types/chai": "^4.1.3",
9898
"@types/jest": "^27.4.1",
9999
"@types/jsdom": "^16.2.3",
100-
"@types/mocha": "^5.2.0",
101100
"@types/node": "~10.17.0",
102101
"@types/rimraf": "^3.0.2",
103102
"@types/sinon": "^7.0.11",
@@ -115,7 +114,6 @@
115114
"karma-firefox-launcher": "^1.1.0",
116115
"lerna": "7.1.1",
117116
"madge": "4.0.2",
118-
"mocha": "^6.1.4",
119117
"nodemon": "^2.0.16",
120118
"npm-run-all": "^4.1.5",
121119
"prettier": "^3.1.1",

packages/browser/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"chai": "^4.1.2",
4444
"chokidar": "^3.0.2",
4545
"fake-indexeddb": "^4.0.1",
46+
"mocha": "^6.1.4",
4647
"karma": "^6.3.16",
4748
"karma-chai": "^0.1.0",
4849
"karma-chrome-launcher": "^2.2.0",

yarn.lock

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6309,11 +6309,6 @@
63096309
resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.1.tgz#283f669ff76d7b8260df8ab7a4262cc83d988256"
63106310
integrity sha512-fZQQafSREFyuZcdWFAExYjBiCL7AUCdgsk80iO0q4yihYYdcIiH28CcuPTGFgLOCC8RlW49GSQxdHwZP+I7CNg==
63116311

6312-
"@types/mocha@^5.2.0":
6313-
version "5.2.7"
6314-
resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-5.2.7.tgz#315d570ccb56c53452ff8638738df60726d5b6ea"
6315-
integrity sha512-NYrtPht0wGzhwe9+/idPaBB+TqkY9AhTvOLMkThm0IoEfLaiVQZwBwyJ5puCkO3AUCWrmcoePjp2mbFocKy4SQ==
6316-
63176312
"@types/mongodb@^3.6.20":
63186313
version "3.6.20"
63196314
resolved "https://registry.yarnpkg.com/@types/mongodb/-/mongodb-3.6.20.tgz#b7c5c580644f6364002b649af1c06c3c0454e1d2"

0 commit comments

Comments
 (0)