Skip to content

Commit

Permalink
Add mocha
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri committed Oct 28, 2016
1 parent b2c65a8 commit 35b12eb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
node_modules
5 changes: 4 additions & 1 deletion package.json
Expand Up @@ -4,7 +4,7 @@
"description": "A JSON-compatible serialization format with rich type annotations",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "./node_modules/.bin/mocha --reporter spec"
},
"repository": {
"type": "git",
Expand All @@ -17,5 +17,8 @@
"license": "MIT",
"bugs": {
"url": "https://github.com/tjson/tjson-js/issues"
},
"dependencies": {
"mocha": "^3.1.2"
}
}
3 changes: 3 additions & 0 deletions test/parser.js
@@ -0,0 +1,3 @@
describe("TJSON Parser", function() {
it("sure could use some tests!");
});

0 comments on commit 35b12eb

Please sign in to comment.