mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2026-03-22 15:35:54 +03:00
Add ESLinter and update Prettier
This commit is contained in:
parent
7c29869aec
commit
60ca6b5332
29 changed files with 3802 additions and 1543 deletions
|
|
@ -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`
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue