Fix linting issues
This commit is contained in:
parent
926cabec78
commit
97b4f12112
1 changed files with 11 additions and 11 deletions
|
@ -1765,12 +1765,12 @@ describe('browser-window module', function () {
|
||||||
})
|
})
|
||||||
|
|
||||||
it('should not affect the bounds when restoring the window', function (done) {
|
it('should not affect the bounds when restoring the window', function (done) {
|
||||||
w.minimize();
|
w.minimize()
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
w.restore();
|
w.restore()
|
||||||
assert.equal(w.getSize()[0], 800);
|
assert.equal(w.getSize()[0], 800)
|
||||||
done();
|
done()
|
||||||
}, 200);
|
}, 200)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -1781,13 +1781,13 @@ describe('browser-window module', function () {
|
||||||
})
|
})
|
||||||
|
|
||||||
it('should not affect the bounds when restoring the window', function (done) {
|
it('should not affect the bounds when restoring the window', function (done) {
|
||||||
const originalPos = w.getPosition();
|
const originalPos = w.getPosition()
|
||||||
w.maximize();
|
w.maximize()
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
w.unmaximize();
|
w.unmaximize()
|
||||||
assertBoundsEqual(originalPos, w.getPosition());
|
assertBoundsEqual(originalPos, w.getPosition())
|
||||||
done();
|
done()
|
||||||
}, 200);
|
}, 200)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue