We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 280ab0d commit 6170c39Copy full SHA for 6170c39
test/zip/index.test.js
@@ -288,7 +288,7 @@ describe('test/zip/index.test.js', () => {
288
fs.mkdirSync(destDir, { recursive: true });
289
await compressing.zip.uncompress(destFile, destDir);
290
const stat = fs.statSync(path.join(destDir, 'bin'));
291
- assert(stat.mode === originStat.mode);
+ assert.equal(stat.mode, originStat.mode, 'file mode should be same after uncompress');
292
// console.log(destDir);
293
});
294
0 commit comments