chore: lint spec-main (#20835)

This commit is contained in:
Jeremy Apthorp 2019-11-01 13:37:02 -07:00 committed by GitHub
parent 1fed1ed577
commit ecd9e1f26e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
51 changed files with 589 additions and 533 deletions

View file

@ -81,7 +81,7 @@ describe('BrowserWindow with affinity module', () => {
const affinityWithNodeFalse = 'affinityWithNodeFalse'
function testNodeIntegration (present: boolean) {
return new Promise((resolve, reject) => {
return new Promise((resolve) => {
ipcMain.once('answer', (event, typeofProcess, typeofBuffer) => {
if (present) {
expect(typeofProcess).to.not.equal('undefined')