feat: add support for partially deflated zips

This commit is contained in:
DecDuck
2025-08-17 11:21:09 +10:00
parent bd30464a08
commit ae4648845e
3 changed files with 47 additions and 12 deletions

View File

@ -200,3 +200,21 @@ test.skip("zip manifest test", async (t) => {
t.pass();
});
test.skip("partially compress zip test", async (t) => {
const dropletHandler = new DropletHandler();
const manifest = JSON.parse(
await new Promise((r, e) =>
generateManifest(
dropletHandler,
"./assets/my horror game.zip",
(_, __) => {},
(_, __) => {},
(err, manifest) => (err ? e(err) : r(manifest))
)
)
);
return t.pass();
});