Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mljsgto222 committed May 31, 2020
1 parent 861699d commit 7a99db8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/asserts/load.js
Expand Up @@ -570,15 +570,15 @@ QUnit.module("load", function () {
});
});

JSZipTestUtils.testZipFile("zip file with extra field is Non-standard", "ref/extra_filed_non_standard.zip", function(file) {
stop();
JSZipTestUtils.testZipFile("zip file with extra field is Non-standard", "ref/extra_filed_non_standard.zip", function(assert, file) {
var done = assert.async();
JSZip.loadAsync(file)
.then(function success() {
start();
ok(true, "no exception were thrown");
assert.ok(true, "no exception were thrown");
done();
}, function failure(e) {
start();
ok(false, "An exception were thrown: " + e.message);
assert.ok(false, "An exception were thrown: " + e.message);
done();
});
});

Expand Down

0 comments on commit 7a99db8

Please sign in to comment.