From 0469abd4a9c9270a1fdc962969e36e63699af8b4 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 10 Dec 2017 21:51:33 +0100 Subject: upgrade dependencies --- node_modules/react-dom/test-utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'node_modules/react-dom/test-utils.js') diff --git a/node_modules/react-dom/test-utils.js b/node_modules/react-dom/test-utils.js index 31e2a2619..bc23ebec4 100644 --- a/node_modules/react-dom/test-utils.js +++ b/node_modules/react-dom/test-utils.js @@ -1,7 +1,7 @@ 'use strict'; if (process.env.NODE_ENV === 'production') { - throw Error('test-utils is not available in production mode.'); + module.exports = require('./cjs/react-dom-test-utils.production.min.js'); } else { - module.exports = require('./cjs/react-dom-test-utils.development'); + module.exports = require('./cjs/react-dom-test-utils.development.js'); } -- cgit v1.2.3