npm run format-check

This commit is contained in:
Aparna Jyothi 2024-08-09 18:44:31 +05:30
parent 421a424aca
commit 5e18b7892a

View file

@ -184,7 +184,9 @@ virtualenvs.path = "{cache-dir}/virtualenvs" # /Users/patrick/Library/Caches/py
); );
} }
const restoredKeys = restoreCacheSpy.mock.results.map(result => result.value); const restoredKeys = restoreCacheSpy.mock.results.map(
result => result.value
);
restoredKeys.forEach(restoredKey => { restoredKeys.forEach(restoredKey => {
if (restoredKey) { if (restoredKey) {
@ -202,7 +204,9 @@ virtualenvs.path = "{cache-dir}/virtualenvs" # /Users/patrick/Library/Caches/py
); );
} }
} else { } else {
expect(infoSpy).toHaveBeenCalledWith(`${packageManager} cache is not found`); expect(infoSpy).toHaveBeenCalledWith(
`${packageManager} cache is not found`
);
} }
}); });
}, },