test: fix after jest update

This commit is contained in:
CrazyMax
2023-09-10 05:28:51 +02:00
parent 54c2561f69
commit 6abbb7ec37

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'
)