mirror of
https://github.com/electron/electron.git
synced 2026-01-27 00:09:09 -05:00
fix js lint errors
This commit is contained in:
@@ -514,14 +514,14 @@ describe('BrowserWindow module', function () {
|
||||
assert.equal(w.isAlwaysOnTop(), true)
|
||||
})
|
||||
|
||||
it('raises an error when relativeLevel is out of bounds', function() {
|
||||
if (process.platform !== 'darwin') return;
|
||||
it('raises an error when relativeLevel is out of bounds', function () {
|
||||
if (process.platform !== 'darwin') return
|
||||
|
||||
assert.throws(function() {
|
||||
assert.throws(function () {
|
||||
w.setAlwaysOnTop(true, '', -1)
|
||||
})
|
||||
|
||||
assert.throws(function() {
|
||||
assert.throws(function () {
|
||||
w.setAlwaysOnTop(true, '', 2147483632)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user