Skip to content

Commit

Permalink
add more stuf to test
Browse files Browse the repository at this point in the history
  • Loading branch information
beeequeue committed Jul 24, 2022
1 parent 64258ae commit 5025263
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions __tests__/installer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,10 @@ describe('setup-node', () => {
}, 100000);

it('enables corepack if specified', async () => {
os.platform = 'linux';
os.arch = 'x64';

inputs['node-version'] = '12';
inputs['corepack'] = 'true';

await main.run();
Expand Down

0 comments on commit 5025263

Please sign in to comment.