Mock fs, tls, and net to support request in the browser
fs is mocked using memfs, which needs to be installed at all 3 layers because webpack is silly
This commit is contained in:
parent
d080a204a3
commit
e4025f1aff
3 changed files with 106 additions and 44 deletions
|
@ -125,6 +125,7 @@
|
|||
"karma-webpack": "4.0.0-beta.0",
|
||||
"matrix-mock-request": "^1.2.0",
|
||||
"matrix-react-test-utils": "^0.2.0",
|
||||
"memfs": "^2.10.1",
|
||||
"minimist": "^1.2.0",
|
||||
"mkdirp": "^0.5.1",
|
||||
"mocha": "^5.2.0",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue