diff --git a/package.json b/package.json index 9ce9a9f..98bc56d 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "index.js", "scripts": { "watch": "watchify browser.js -o bundle.js -v", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "node test/all.js" }, "repository": { "type": "git", @@ -24,6 +24,7 @@ "katex": "^0.5.1" }, "devDependencies": { - "markdown-it": "^6.0.0" + "markdown-it": "^6.0.0", + "tape": "^4.5.1" } } diff --git a/test/all.js b/test/all.js new file mode 100644 index 0000000..cb1003f --- /dev/null +++ b/test/all.js @@ -0,0 +1,9 @@ +var tape = require('tape'), + mdk = require('../index'); + + +tape("hello tape", function(t){ + t.plan(1); + + t.assert(true, "it works!"); +});