Skip to content

Commit

Permalink
Update saver zip
Browse files Browse the repository at this point in the history
  • Loading branch information
muffinista committed Mar 12, 2024
1 parent 6e40013 commit 24f87c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Binary file modified test/fixtures/test-savers.zip
Binary file not shown.
11 changes: 5 additions & 6 deletions test/lib/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,16 +148,15 @@ describe("Package", function() {
fs.mkdirSync(workingDir);
});

it("unzips files", function(done) {
it("unzips files", async function() {
if (process.platform == "darwin") {
this.skip();
}

p.zipToSavers(zipPath).then(() => {
var testDest = path.resolve(workingDir, "sparks", "index.html");
assert(fs.existsSync(testDest));
done();
});
await p.zipToSavers(zipPath);

var testDest = path.resolve(workingDir, "sparks", "index.html");
assert(fs.existsSync(testDest));
});

it("recovers from errors", function(done) {
Expand Down

0 comments on commit 24f87c0

Please sign in to comment.