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`);