Skip to content

Commit

Permalink
test: updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jrparish committed Nov 21, 2023
1 parent a4b88c4 commit d24af48
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions __tests__/official-installer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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`
);
});
});
});

0 comments on commit d24af48

Please sign in to comment.