avoid using eslint comment exceptions
This commit is contained in:
parent
1a18151eff
commit
b5afad9da7
5 changed files with 10 additions and 13 deletions
|
@ -60,7 +60,7 @@ describe('ipc module', function () {
|
|||
|
||||
it('can construct an object from its member', function () {
|
||||
var call = remote.require(path.join(fixtures, 'module', 'call.js'))
|
||||
var obj = new call.constructor // eslint-disable-line
|
||||
var obj = new call.constructor()
|
||||
assert.equal(obj.test, 'test')
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue