Skip to content

Commit

Permalink
adding e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Jan 14, 2014
1 parent 1c45da3 commit 720d8f9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,2 +1,3 @@
/node_modules
npm-debug.log
cover/
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -52,6 +52,7 @@
"ggit": "./index.js"
},
"scripts": {
"test": "grunt"
"test": "grunt",
"e2e": "node node_modules/gt test/*.js --output"
}
}
8 changes: 8 additions & 0 deletions test/one-line-log.js
@@ -0,0 +1,8 @@
var log = require('../index').getOneLineLog;
var verify = require('check-types').verify;

gt.module('one line log');

gt.test('basics', function () {
gt.func(log, 'one line log is a function');
});

0 comments on commit 720d8f9

Please sign in to comment.