From fb7f4c0a42dc93e0d104219b12384cf1410acabf Mon Sep 17 00:00:00 2001 From: Ben Chypak Date: Wed, 21 Sep 2022 14:20:43 -0700 Subject: [PATCH] Remove console logs in tests (#730) --- .../pwa-kit-react-sdk/src/ssr/server/react-rendering.test.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/pwa-kit-react-sdk/src/ssr/server/react-rendering.test.js b/packages/pwa-kit-react-sdk/src/ssr/server/react-rendering.test.js index e9bad7786d..d5ab3aed6f 100644 --- a/packages/pwa-kit-react-sdk/src/ssr/server/react-rendering.test.js +++ b/packages/pwa-kit-react-sdk/src/ssr/server/react-rendering.test.js @@ -649,7 +649,6 @@ describe('The Node SSR Environment', () => { mocks: () => { const AppConfig = getAppConfig() jest.spyOn(AppConfig.prototype, 'render').mockImplementation(() => { - console.log('Throwing an error!!') throw new Error() }) }, @@ -699,7 +698,6 @@ describe('The Node SSR Environment', () => { const app = RemoteServerFactory._createApp(opts()) app.get('/*', render) if (mocks) { - console.log('Doing the mocking') mocks() } return request(app)