blob: c3b12c6aba08f19fb735c742027e4f158f54fba4 [file] [edit]
"use strict";
QUnit.module("constructor");
QUnit.test("JSZip exists", function(assert){
assert.ok(JSZip, "JSZip exists");
});
QUnit.test("new JSZip()", function(assert){
var zip = new JSZip();
assert.ok(zip instanceof JSZip, "Constructor works");
});
QUnit.test("JSZip()", function(assert){
var zip = JSZip();
assert.ok(zip instanceof JSZip, "Constructor adds `new` before itself where necessary");
});