From f295bfd558b01edad81e7799b30e15369a22066f Mon Sep 17 00:00:00 2001 From: Matthew Shao Date: Thu, 11 May 2017 08:27:40 +0800 Subject: [PATCH] [web] Add 'react-test-renderer' dependency. --- web/package.json | 5 ++++- web/yarn.lock | 18 +++++++++++++----- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/web/package.json b/web/package.json index ca170a547..94b0ee603 100644 --- a/web/package.json +++ b/web/package.json @@ -18,7 +18,9 @@ "coveragePathIgnorePatterns": [ "/src/js/filt/filt.js" ], - "collectCoverageFrom" : ["src/js/**/*.{js,jsx}"] + "collectCoverageFrom": [ + "src/js/**/*.{js,jsx}" + ] }, "dependencies": { "bootstrap": "^3.3.7", @@ -29,6 +31,7 @@ "react-codemirror": "^0.3.0", "react-dom": "^15.4.2", "react-redux": "^5.0.2", + "react-test-renderer": "^15.5.4", "redux": "^3.6.0", "redux-logger": "^2.8.1", "redux-mock-store": "^1.2.3", diff --git a/web/yarn.lock b/web/yarn.lock index a2efcc5dc..602b49169 100644 --- a/web/yarn.lock +++ b/web/yarn.lock @@ -1860,7 +1860,7 @@ fb-watchman@^2.0.0: dependencies: bser "^2.0.0" -fbjs@^0.8.1, fbjs@^0.8.4, fbjs@^0.8.9: +fbjs@^0.8.4, fbjs@^0.8.9: version "0.8.9" resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.9.tgz#180247fbd347dcc9004517b904f865400a0c8f14" dependencies: @@ -4064,7 +4064,7 @@ promise@^7.1.1: dependencies: asap "~2.0.3" -prop-types@^15.5.0: +prop-types@^15.5.0, prop-types@~15.5.7: version "15.5.8" resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.5.8.tgz#6b7b2e141083be38c8595aa51fc55775c7199394" dependencies: @@ -4156,12 +4156,13 @@ react-codemirror@^0.3.0: lodash.debounce "^4.0.8" react-dom@^15.4.2: - version "15.4.2" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-15.4.2.tgz#015363f05b0a1fd52ae9efdd3a0060d90695208f" + version "15.5.4" + resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-15.5.4.tgz#ba0c28786fd52ed7e4f2135fe0288d462aef93da" dependencies: - fbjs "^0.8.1" + fbjs "^0.8.9" loose-envify "^1.1.0" object-assign "^4.1.0" + prop-types "~15.5.7" react-redux@^5.0.2: version "5.0.2" @@ -4173,6 +4174,13 @@ react-redux@^5.0.2: lodash-es "^4.2.0" loose-envify "^1.1.0" +react-test-renderer@^15.5.4: + version "15.5.4" + resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-15.5.4.tgz#d4ebb23f613d685ea8f5390109c2d20fbf7c83bc" + dependencies: + fbjs "^0.8.9" + object-assign "^4.1.0" + react@^15.4.2: version "15.4.2" resolved "https://registry.yarnpkg.com/react/-/react-15.4.2.tgz#41f7991b26185392ba9bae96c8889e7e018397ef"