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