Add ESLinter and update Prettier

This commit is contained in:
IvanZosimov 2023-03-01 10:46:43 +01:00
parent 7c29869aec
commit 60ca6b5332
29 changed files with 3802 additions and 1543 deletions

View file

@ -108,7 +108,7 @@ describe('cache-restore', () => {
it.each([['npm7'], ['npm6'], ['pnpm6'], ['yarn1'], ['yarn2'], ['random']])(
'Throw an error because %s is not supported',
async packageManager => {
await expect(restoreCache(packageManager)).rejects.toThrowError(
await expect(restoreCache(packageManager)).rejects.toThrow(
`Caching for '${packageManager}' is not supported`
);
}