From edd363262c0354b6a1926c5c79ceb59dca656b4f Mon Sep 17 00:00:00 2001 From: Matthew Shao Date: Thu, 8 Jun 2017 11:06:24 +0800 Subject: [PATCH] [web] Add mock-xmlhttprequest dependency. --- web/package.json | 1 + web/yarn.lock | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/web/package.json b/web/package.json index 94b0ee603..a4ef0f29f 100644 --- a/web/package.json +++ b/web/package.json @@ -26,6 +26,7 @@ "bootstrap": "^3.3.7", "classnames": "^2.2.5", "lodash": "^4.17.4", + "mock-xmlhttprequest": "^1.1.0", "prop-types": "^15.5.0", "react": "^15.4.2", "react-codemirror": "^0.3.0", diff --git a/web/yarn.lock b/web/yarn.lock index 602b49169..54baf85e8 100644 --- a/web/yarn.lock +++ b/web/yarn.lock @@ -3648,6 +3648,10 @@ minimist@^1.1.0, minimist@^1.1.1, minimist@^1.1.3, minimist@^1.2.0: dependencies: minimist "0.0.8" +mock-xmlhttprequest@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/mock-xmlhttprequest/-/mock-xmlhttprequest-1.1.0.tgz#310edeccb4390a2d630e1a0b4e747615215bf7af" + module-deps@^4.0.8: version "4.1.1" resolved "https://registry.yarnpkg.com/module-deps/-/module-deps-4.1.1.tgz#23215833f1da13fd606ccb8087b44852dcb821fd"