diff --git a/__tests__/official-installer.test.ts b/__tests__/official-installer.test.ts index cc312bdb0..778b5196e 100644 --- a/__tests__/official-installer.test.ts +++ b/__tests__/official-installer.test.ts @@ -18,7 +18,6 @@ import nodeTestDist from './data/node-dist-index.json'; import nodeTestDistNightly from './data/node-nightly-index.json'; import nodeTestDistRc from './data/node-rc-index.json'; import nodeV8CanaryTestDist from './data/v8-canary-dist-index.json'; -import {enableCorepack} from '../src/util'; describe('setup-node', () => { let build: OfficialBuilds; @@ -857,11 +856,5 @@ describe('setup-node', () => { expect.anything() ); }); - - it('fails to use corepack with an invalid package manager', async () => { - await expect(enableCorepack('npm turbo')).rejects.toThrow( - `One or more of the specified package managers [ npm turbo ] are not supported by corepack` - ); - }); }); });