Skip to content
Snippets Groups Projects
Commit 1423f6e5 authored by Waylon Flinn's avatar Waylon Flinn
Browse files

unit testing setup

parent 1922f1d7
No related branches found
No related tags found
No related merge requests found
......@@ -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"
}
}
var tape = require('tape'),
mdk = require('../index');
tape("hello tape", function(t){
t.plan(1);
t.assert(true, "it works!");
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment