From 9a67d17508da25de79270657c5eb6d5dae08eae1 Mon Sep 17 00:00:00 2001 From: nicksales72 Date: Wed, 11 Mar 2026 16:33:26 -0400 Subject: [PATCH] why is it an alias? --- test/match/queue.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/match/queue.test.ts b/test/match/queue.test.ts index 0f31738..bfde58b 100644 --- a/test/match/queue.test.ts +++ b/test/match/queue.test.ts @@ -1,4 +1,4 @@ -import { beforeEach, describe, expect, it, mock } from 'bun:test'; +import { beforeEach, describe, expect, test, mock } from 'bun:test'; import { MATCH_STATES } from '../../src/lib/server/match/types'; const mocks = { @@ -43,7 +43,7 @@ describe('joinQueue', () => { mocks.db.delete.mockReset(); }); - it('throws when user is already in an active match', async () => { + test('throws when user is already in an active match', async () => { mocks.db.delete.mockReturnValue({ where: mock(() => ({ returning: mock(() => Promise.resolve([])) })) }); @@ -60,7 +60,7 @@ describe('joinQueue', () => { expect(mocks.db.query.playerRating.findFirst).not.toHaveBeenCalled(); }); - it('throws when user has no rating', async () => { + test('throws when user has no rating', async () => { mocks.db.delete.mockReturnValue({ where: mock(() => ({ returning: mock(() => Promise.resolve([])) })) }); @@ -73,7 +73,7 @@ describe('joinQueue', () => { ); }); - it('throws when user is already in queue', async() => { + test('throws when user is already in queue', async() => { mocks.db.delete.mockReturnValue({ where: mock(() => ({ returning: mock(() => Promise.resolve([])) })) });