mirror of
https://github.com/wassname/template.git
synced 2026-07-07 19:58:43 +08:00
14 lines
351 B
JavaScript
14 lines
351 B
JavaScript
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);
|