1
0
Fork 0
mirror of https://github.com/actions/setup-node synced 2024-12-22 13:12:43 +00:00

Update __tests__/cache-save.test.ts

Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
This commit is contained in:
Jacob Gillespie 2021-07-14 13:01:18 +01:00 committed by GitHub
parent 162ddf7c40
commit f24e78e0f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -153,7 +153,7 @@ describe('run', () => {
expect(setFailedSpy).not.toHaveBeenCalled();
});
it('should not save cache for npm', async () => {
it('should not save cache for pnpm', async () => {
inputs['cache'] = 'pnpm';
getStateSpy.mockImplementation(() => pnpmFileHash);
getCommandOutputSpy.mockImplementationOnce(() => `${commonPath}/pnpm`);