mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Make html2canvas requireable in nodejs
This commit is contained in:
8
tests/node/package.js
Normal file
8
tests/node/package.js
Normal file
@ -0,0 +1,8 @@
|
||||
var assert = require('assert');
|
||||
var html2canvas = require('../../');
|
||||
|
||||
describe("Package", function() {
|
||||
it("should have html2canvas defined", function() {
|
||||
assert.equal(typeof(html2canvas), "function");
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user