mirror of
https://github.com/wassname/template.git
synced 2026-08-11 11:27:20 +08:00
Adds test and node support
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user