mirror of
https://github.com/crazy-max/ghaction-upx.git
synced 2024-12-03 23:36: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 () => {
|
it('unknown release', async () => {
|
||||||
await expect(installer.getRelease('foo')).rejects.toThrowError(
|
await expect(installer.getRelease('foo')).rejects.toThrow(
|
||||||
new Error(
|
new Error(
|
||||||
'Cannot find UPX release foo in https://raw.githubusercontent.com/crazy-max/ghaction-upx/master/.github/upx-releases.json'
|
'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