fix merge errors

This commit is contained in:
Hazelnoot 2025-10-01 15:22:39 -04:00
parent 0684691993
commit 36205cc496
4 changed files with 19 additions and 15 deletions

View file

@ -6,7 +6,6 @@
process.env.NODE_ENV = 'test';
import * as assert from 'assert';
import { ReversiMatchResponse } from 'misskey-js/entities.js';
import { api, signup } from '../utils.js';
import type * as misskey from 'misskey-js';
@ -26,7 +25,7 @@ describe('ReversiGame', () => {
const response2 = await api('reversi/match', { userId: alice.id }, bob);
assert.strictEqual(response2.status, 200);
assert.notStrictEqual(response2.body, null);
const body = response2.body as ReversiMatchResponse;
const body = response2.body as misskey.entities.ReversiMatchResponse;
assert.strictEqual(body.user1.id, alice.id);
assert.strictEqual(body.user2.id, bob.id);
});