diff --git a/__tests__/commands/install/integration.js b/__tests__/commands/install/integration.js index a7d88af412..48e5054561 100644 --- a/__tests__/commands/install/integration.js +++ b/__tests__/commands/install/integration.js @@ -29,7 +29,7 @@ async function mockConstants(base: Config, mocks: Object, cb: (config: Config) = // the Yarn environment. const opts = {}; - + opts.binLinks = base.binLinks; opts.cwd = base.cwd; opts.globalFolder = base.globalFolder; diff --git a/__tests__/commands/pack.js b/__tests__/commands/pack.js index 58608f7b74..845cbbe767 100644 --- a/__tests__/commands/pack.js +++ b/__tests__/commands/pack.js @@ -87,6 +87,7 @@ export async function getFilesFromArchive(source, destination): Promise { - if (ROOT_USER) { - entry.props.uid = entry.uid = 0; - entry.props.gid = entry.gid = 0; - } - }) .on('finish', () => { const expectHash = this.hash; const actualHash = validateStream.getHash();