From 2c079a96087e4db6035be14fa26acfdac910d5b0 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 1 Jan 2022 21:52:46 +0900 Subject: [PATCH] fix test --- test/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/api.ts b/test/api.ts index a7294a7161..47c8378014 100644 --- a/test/api.ts +++ b/test/api.ts @@ -167,7 +167,7 @@ describe('API', () => { }); await cli.request('i'); - } catch (e) { + } catch (e: any) { expect(isAPIError(e)).toEqual(true); expect(e.id).toEqual('5d37dbcb-891e-41ca-a3d6-e690c97775ac'); }