From d24af48ab471ee551ad93a0843ff8c24553f6113 Mon Sep 17 00:00:00 2001 From: Jacob Parish Date: Tue, 21 Nov 2023 12:46:09 -0600 Subject: [PATCH] test: updated tests --- __tests__/official-installer.test.ts | 7 ------- 1 file changed, 7 deletions(-) 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` - ); - }); }); });