Skip to content

Commit

Permalink
Setup "npm test"
Browse files Browse the repository at this point in the history
  • Loading branch information
tapmodo committed Nov 3, 2015
1 parent babbb5d commit bc5e2f4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"scripts": {
"build": "pegjs lib/ldif.pegjs lib/parser.js",
"test": "echo \"Error: no test specified\" && exit 1"
"test": "node_modules/.bin/mocha"
},
"author": "Tapmodo <[email protected]>",
"license": "MIT"
Expand Down
15 changes: 15 additions & 0 deletions test/01_parsing.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

describe('Parses RFC Examples',function(){
it('parse example1');
it('parse example2');
it('parse example3');
it('parse example4');
it('parse example5');
it('parse example6');
it('parse example7');
});

describe('Object Output',function(){
it('construct Record object');
it('write more tests');
});

0 comments on commit bc5e2f4

Please sign in to comment.