test: fix after jest update

pull/215/head
CrazyMax 2023-09-10 05:28:51 +02:00
parent 54c2561f69
commit 6abbb7ec37
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ describe('getRelease', () => {
});
it('unknown release', async () => {
await expect(installer.getRelease('foo')).rejects.toThrowError(
await expect(installer.getRelease('foo')).rejects.toThrow(
new Error(
'Cannot find UPX release foo in https://raw.githubusercontent.com/crazy-max/ghaction-upx/master/.github/upx-releases.json'
)