Permalink
Browse files

+1 test: Constructor adds `new` before itself where necessary

  • Loading branch information...
1 parent b2a2947 commit bd6d21b381bde9c2584fe3ad6684280687f3ef10 @Mithgol Mithgol committed Feb 13, 2014
Showing with 3 additions and 0 deletions.
  1. +3 −0 test/test.js
View
@@ -59,6 +59,9 @@ test("JSZip", function(){
var zip = new JSZip();
ok(zip, "Constructor works");
+
+ var zipNoNew = JSZip();
+ ok(zipNoNew.file, "Constructor adds `new` before itself where necessary");
});
QUnit.module("Essential"); // {{{

0 comments on commit bd6d21b

Please sign in to comment.