We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89298b9 commit 79f7691Copy full SHA for 79f7691
test/asserts/load.js
@@ -22,8 +22,7 @@ QUnit.module("load", function () {
22
assert.ok(typeof file === "string");
23
JSZip.loadAsync(file)
24
.then(function (zip) {
25
- // Passes in Node, fails in browsers:
26
- // assert.equal(Object.getPrototypeOf(zip.files), zip.files.__proto__); // jshint ignore:line
+ assert.notEqual(Object.getPrototypeOf(zip.files), zip.files.__proto__);
27
return zip.file("__proto__").async("string"); })
28
.then(function(result) {
29
assert.equal(result, "hello\n", "the zip was correctly read.");
0 commit comments