chore: lint spec-main (#20835)
This commit is contained in:
parent
1fed1ed577
commit
ecd9e1f26e
51 changed files with 589 additions and 533 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue