From 8839aa1e431f1b5a5cdf5c158997eb21f4f7e4e9 Mon Sep 17 00:00:00 2001 From: Elliot Hesp Date: Thu, 25 May 2017 09:15:35 +0100 Subject: [PATCH] Remove JS logs from app --- tests/src/containers/CoreContainer.js | 2 +- tests/src/store/setup.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/src/containers/CoreContainer.js b/tests/src/containers/CoreContainer.js index 82e4452a..97ae3994 100644 --- a/tests/src/containers/CoreContainer.js +++ b/tests/src/containers/CoreContainer.js @@ -76,7 +76,7 @@ class CoreContainer extends React.Component { }; render() { - return ; + return ; } } diff --git a/tests/src/store/setup.js b/tests/src/store/setup.js index 06cc0107..94f48c0c 100644 --- a/tests/src/store/setup.js +++ b/tests/src/store/setup.js @@ -11,7 +11,7 @@ function setup(done) { const isDev = global.isDebuggingInChrome || __DEV__; const logger = reduxLogger({ - predicate: () => isDev, + predicate: () => false, collapsed: true, duration: true, }); @@ -24,7 +24,7 @@ function setup(done) { middlewares.push(applyMiddleware(...[thunk])); if (isDev) { - middlewares.push(applyMiddleware(...[logger])); + // middlewares.push(applyMiddleware(...[logger])); middlewares.push(applyMiddleware(require('redux-immutable-state-invariant')())); }