Clean up no-unused-vars lint errors
This commit is contained in:
parent
ccce284a5b
commit
70bcb0ac5a
36 changed files with 228 additions and 344 deletions
|
@ -84,12 +84,10 @@ describe('ipc module', function() {
|
|||
return it('can be used as promise in each side', function(done) {
|
||||
var promise;
|
||||
promise = remote.require(path.join(fixtures, 'module', 'promise.js'));
|
||||
return promise.twicePromise(Promise.resolve(1234)).then((function(_this) {
|
||||
return function(value) {
|
||||
assert.equal(value, 2468);
|
||||
return done();
|
||||
};
|
||||
})(this));
|
||||
return promise.twicePromise(Promise.resolve(1234)).then(function(value) {
|
||||
assert.equal(value, 2468);
|
||||
return done();
|
||||
});
|
||||
});
|
||||
});
|
||||
describe('ipc.sender.send', function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue