mirror of
https://github.com/crazy-max/ghaction-upx.git
synced 2024-12-03 07:16:08 -07:00
test: fix after jest update
This commit is contained in:
parent
54c2561f69
commit
6abbb7ec37
|
@ -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'
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user