diff --git a/packages/@aws-cdk/aws-lambda-nodejs/test/docker.test.ts b/packages/@aws-cdk/aws-lambda-nodejs/test/docker.test.ts index b1d7690553e32..dfb8d07b0fb4a 100644 --- a/packages/@aws-cdk/aws-lambda-nodejs/test/docker.test.ts +++ b/packages/@aws-cdk/aws-lambda-nodejs/test/docker.test.ts @@ -15,6 +15,9 @@ test('parcel is available', async () => { }); test('parcel is installed without a package-lock.json file', async () => { + // We don't want a lock file at / to prevent Parcel from considering that /asset-input + // is part of a monorepo. + // See https://github.com/aws/aws-cdk/pull/10039#issuecomment-682738396 const proc = spawnSync('docker', [ 'run', 'parcel', 'sh', '-c',