Skip to content

Commit 7caf676

Browse files
committed
fixup! disable pnpm pm checks
1 parent 848595a commit 7caf676

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/main.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ it(`should transparently use the preconfigured version when there is no local pr
636636

637637
for (const name of SupportedPackageManagerSet) {
638638
it(`should use the pinned version when local projects don't list any spec (${name})`, async () => {
639-
process.env.pnpm_config_pm_on_fail= `ignore`;
639+
process.env.pnpm_config_pm_on_fail = `ignore`;
640640

641641
await xfs.mktempPromise(async cwd => {
642642
await xfs.writeJsonPromise(ppath.join(cwd, `package.json` as Filename), {
@@ -813,7 +813,7 @@ it(`should refuse to run a different package manager within a configured project
813813

814814
// Disable strict checking to workaround the UsageError.
815815
process.env.COREPACK_ENABLE_STRICT = `0`;
816-
process.env.pnpm_config_pm_on_fail= `ignore`;
816+
process.env.pnpm_config_pm_on_fail = `ignore`;
817817

818818
await expect(runCli(cwd, [`yarn`, `--version`])).resolves.toMatchObject({
819819
stdout: `1.0.0\n`,
@@ -835,7 +835,7 @@ it(`should always use fallback version when project spec env is disabled`, async
835835
packageManager: `yarn@1.0.0`,
836836
});
837837
process.env.COREPACK_ENABLE_PROJECT_SPEC = `0`;
838-
process.env.pnpm_config_pm_on_fail= `ignore`;
838+
process.env.pnpm_config_pm_on_fail = `ignore`;
839839

840840
await expect(runCli(cwd, [`yarn`, `--version`])).resolves.toMatchObject({
841841
stdout: `${config.definitions.yarn.default.split(`+`, 1)[0]}\n`,

0 commit comments

Comments
 (0)