diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2022-01-01 21:52:46 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2022-01-01 21:52:46 +0900 |
| commit | 2c079a96087e4db6035be14fa26acfdac910d5b0 (patch) | |
| tree | 9188c18db1f0bb42bc85558b151fbb8052a1af3c | |
| parent | update deps (diff) | |
| download | misskey-2c079a96087e4db6035be14fa26acfdac910d5b0.tar.gz misskey-2c079a96087e4db6035be14fa26acfdac910d5b0.tar.bz2 misskey-2c079a96087e4db6035be14fa26acfdac910d5b0.zip | |
fix test
| -rw-r--r-- | test/api.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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'); } |