Skip to content

Commit

Permalink
Added lib.init unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
shazron committed Jun 14, 2017
1 parent d5bc0ca commit ebaea0b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions spec/lib.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ describe('lib end-to-end', function() {
});
})

// it('', function(done) {
// });
it('init should not process.exit when called as a lib', function() {
var code = lib.init();
expect(!isNaN(code)).toBe(true);
});
});

0 comments on commit ebaea0b

Please sign in to comment.