From 9a5851330544e8baff7f08b14cc97a7282f58cb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=B0=D0=BB=D0=B5=D0=BD=D1=82=D0=B8=D0=BD?= <27902270+vdistortion@users.noreply.github.com> Date: Fri, 22 May 2026 03:28:10 +0500 Subject: [PATCH] fix: replace unsupported forceUTC option in tests --- test/pack.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/pack.js b/test/pack.js index 7a0150d9..10cb3a86 100644 --- a/test/pack.js +++ b/test/pack.js @@ -120,7 +120,7 @@ describe("pack", function () { it("should support archive and file comments", function (done) { var archive = new Packer({ comment: "this is a zip comment", - forceUTC: true, + forceLocalTime: false, }); var testStream = createWriteStream("tmp/comments.zip"); testStream.on("close", function () { @@ -136,7 +136,7 @@ describe("pack", function () { }); it("should STORE files when compression level is zero", function (done) { var archive = new Packer({ - forceUTC: true, + forceLocalTime: false, level: 0, }); var testStream = createWriteStream("tmp/store-level0.zip"); @@ -280,7 +280,7 @@ describe("pack", function () { it("should handle data that exceeds its internal buffer size", function (done) { var archive = new Packer({ highWaterMark: 1024 * 4, - forceUTC: true, + forceLocalTime: false, }); var testStream = createWriteStream("tmp/buffer-overflow.zip"); testStream.on("close", function () {