Browse Source

enhance(test): Drop pessimistic printing of logs that shouldn't be there

This test code is unnecessary in the common case and can be revived if the test
fails.
renovate/lint-staged-8.x
Ben Woosley 7 years ago
parent
commit
06595b1ea4
No known key found for this signature in database GPG Key ID: 6EE5F3785F78B345
  1. 6
      test/e2e/e2e.spec.js

6
test/e2e/e2e.spec.js

@ -30,12 +30,6 @@ describe('main window', function spec() {
it('should haven\'t any logs in console of main window', async () => {
const { client } = this.app
const logs = await client.getRenderProcessLogs()
// Print renderer process logs
logs.forEach((log) => {
console.log(log.message)
console.log(log.source)
console.log(log.level)
})
expect(logs).toHaveLength(0)
})
})

Loading…
Cancel
Save