test(backend): 204

This commit is contained in:
Acid Chicken (硫酸鶏) 2024-05-30 13:10:07 +09:00
parent 8be78e8da6
commit 63de85e7c5
No known key found for this signature in database
GPG Key ID: 3E87B98A3F6BAB99
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ describe('ReversiGame', () => {
test('matches when alice invites bob and bob accepts', async () => {
const response1 = await api('reversi/match', { userId: bob.id }, alice);
assert.strictEqual(response1.status, 200);
assert.strictEqual(response1.status, 204);
assert.strictEqual(response1.body, null);
const response2 = await api('reversi/match', { userId: alice.id }, bob);
assert.strictEqual(response2.status, 200);