Skip to content
Permalink
Browse files
Fixes linting issues
  • Loading branch information
mikaelbr committed Jan 27, 2017
1 parent a0d78bb commit b62fd0b0dfaead6f4281c3206d941f71b5ef6032
Showing 3 changed files with 2 additions and 13 deletions.
@@ -2,7 +2,7 @@
"extends": "semistandard",
"env": {
"node": true,
"mocha": true
"jest": true
},
"rules": {
"space-before-function-paren": 0,
@@ -102,11 +102,7 @@ describe('WindowsBalloon', function() {
var expected = [ '-m', 'body', '-p', 'title', '-d', '1000', '-q' ];

expectArgsListToBe(expected, done);
var notifier = new Notify().notify({
title: 'title',
message: 'body',
time: '1000'
});
new Notify().notify({ title: 'title', message: 'body', time: '1000' });
});

it('should not send false flags', function(done) {
@@ -25,13 +25,6 @@ describe('WindowsToaster', function() {
os.release = this.originalRelease;
});

function expectArgsListToBe(expected, done) {
utils.fileCommandJson = function(notifier, argsList, callback) {
expect(argsList).toEqual(expected);
done();
};
}

it('should only pass allowed options and proper named properties', function(
done
) {

0 comments on commit b62fd0b

Please sign in to comment.