diff --git a/lib/plugins/package/lib/zipService.test.js b/lib/plugins/package/lib/zipService.test.js index acb99c327..a82dcd285 100644 --- a/lib/plugins/package/lib/zipService.test.js +++ b/lib/plugins/package/lib/zipService.test.js @@ -694,11 +694,11 @@ describe('zipService', () => { 'bin': { 'binary-777': { content: 'some content', - permissions: 777, + permissions: 0o777, }, 'binary-444': { content: 'some content', - permissions: 444, + permissions: 0o444, }, }, // lib @@ -820,12 +820,12 @@ describe('zipService', () => { } else { // binary file is set with chmod of 777 expect(unzippedFileData['bin/binary-777'].unixPermissions).to.equal( - Math.pow(2, 15) + 777 + Math.pow(2, 15) + 0o777 ); // read only file is set with chmod of 444 expect(unzippedFileData['bin/binary-444'].unixPermissions).to.equal( - Math.pow(2, 15) + 444 + Math.pow(2, 15) + 0o444 ); } });