Skip to content

Commit 79f7691

Browse files
committedAug 5, 2021
Revert "Disable proto assert that fails in browsers"
This reverts commit 9046487.
1 parent 89298b9 commit 79f7691

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎test/asserts/load.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ QUnit.module("load", function () {
2222
assert.ok(typeof file === "string");
2323
JSZip.loadAsync(file)
2424
.then(function (zip) {
25-
// Passes in Node, fails in browsers:
26-
// assert.equal(Object.getPrototypeOf(zip.files), zip.files.__proto__); // jshint ignore:line
25+
assert.notEqual(Object.getPrototypeOf(zip.files), zip.files.__proto__);
2726
return zip.file("__proto__").async("string"); })
2827
.then(function(result) {
2928
assert.equal(result, "hello\n", "the zip was correctly read.");

0 commit comments

Comments
 (0)
Please sign in to comment.