Skip to content

Commit

Permalink
just create a sample test for now using mocha and chai
Browse files Browse the repository at this point in the history
  • Loading branch information
kratsg committed Jul 2, 2017
1 parent 1302bd4 commit 8131c61
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"postinstall": "node scripts/install.js",
"start": "node index.js",
"test": "echo \"Error: no test specified\" && exit 1"
"test": "mocha"
},
"repository": {
"type": "git",
Expand Down
7 changes: 7 additions & 0 deletions test/test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
var expect = require('chai').expect;

describe('Something', function(){
it('should do something', function(){
return expect({a:1}).to.not.have.property('b');
});
});

0 comments on commit 8131c61

Please sign in to comment.