Closed rotu closed 1 year ago
In my shell profile, I export COREPACK_ENABLE_STRICT=0. This causes the test to fail, since the "should refuse to run a different package manager within a configured project" test assumes this environment variable is unset.
COREPACK_ENABLE_STRICT=0
https://github.com/nodejs/corepack/blob/2bf76c9e29a59dee21e96cf6250a8cede59922e5/tests/main.test.ts#L262C28-L262C28
This should fix it https://github.com/nodejs/corepack/pull/304
In my shell profile, I export
COREPACK_ENABLE_STRICT=0
. This causes the test to fail, since the "should refuse to run a different package manager within a configured project" test assumes this environment variable is unset.https://github.com/nodejs/corepack/blob/2bf76c9e29a59dee21e96cf6250a8cede59922e5/tests/main.test.ts#L262C28-L262C28