Skip to content

Commit

Permalink
Remove console logs in tests (#730)
Browse files Browse the repository at this point in the history
bendvc authored Sep 21, 2022
1 parent f3c16a4 commit fb7f4c0
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit fb7f4c0

Please sign in to comment.