fix type error in test/e2e/reversi-game.ts
This commit is contained in:
parent
ac196d5c6a
commit
48edf3d71f
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ describe('ReversiGame', () => {
|
|||
assert.strictEqual(response2.status, 200);
|
||||
assert.notStrictEqual(response2.body, null);
|
||||
const body = response2.body as misskey.entities.ReversiMatchResponse;
|
||||
assert.strictEqual(body.user1.id, alice.id);
|
||||
assert.strictEqual(body?.user1.id, alice.id);
|
||||
assert.strictEqual(body.user2.id, bob.id);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue