Adds test and node support

This commit is contained in:
Shan Carter
2017-01-08 21:02:39 -08:00
parent 6b93782533
commit 6c5c9127a7
12 changed files with 6955 additions and 27 deletions
+13
View File
@@ -0,0 +1,13 @@
let assert = require("assert"),
jsdom = require("jsdom").jsdom,
distill = require("../dist/template.js");
describe("distill", () => {
it("Should have a render function", () => {
assert(distill.render);
});
});
// var doc = jsdom("<script>var shan = 'testing'</script>");
// var window = doc.defaultView;
// console.log(window.shan);