diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3c3629e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules diff --git a/package.json b/package.json index cd5d95f..10a1a0c 100644 --- a/package.json +++ b/package.json @@ -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", @@ -17,5 +17,8 @@ "license": "MIT", "bugs": { "url": "https://github.com/tjson/tjson-js/issues" + }, + "dependencies": { + "mocha": "^3.1.2" } } diff --git a/test/parser.js b/test/parser.js new file mode 100644 index 0000000..f72d080 --- /dev/null +++ b/test/parser.js @@ -0,0 +1,3 @@ +describe("TJSON Parser", function() { + it("sure could use some tests!"); +});