This commit is contained in:
Priyagupta108 2026-01-12 14:57:50 +05:30
parent 6e29faab03
commit 6644fa17f9

View file

@ -60,7 +60,7 @@ describe('restoreCache', () => {
);
});
it('should inform if cache hit is not occured', async () => {
it('should inform if cache hit is not occurred', async () => {
// Arrange
hashFilesSpy.mockImplementation(() => Promise.resolve('file_hash'));
restoreCacheSpy.mockImplementation(() => Promise.resolve(''));
@ -73,7 +73,7 @@ describe('restoreCache', () => {
expect(infoSpy).toHaveBeenCalledWith('Cache is not found');
});
it('should set output if cache hit is occured', async () => {
it('should set output if cache hit is occurred', async () => {
// Arrange
hashFilesSpy.mockImplementation(() => Promise.resolve('file_hash'));
restoreCacheSpy.mockImplementation(() => Promise.resolve('cache_key'));