remove dynamic import

This commit is contained in:
2026-03-13 17:44:35 +01:00
parent 470b92d0bd
commit f3edcb6995

View File

@@ -1,5 +1,6 @@
import { beforeEach, describe, expect, test, mock } from 'bun:test';
import { MATCH_STATES } from './types';
import { pickMap } from './engine';
const mocks = {
db: {
@@ -51,8 +52,6 @@ mock.module('$lib/server/osu/api', () => ({
getUser: mock()
}));
const { pickMap } = await import('./engine');
describe('pickMap', () => {
beforeEach(() => {
mocks.db.query.match.findFirst.mockReset();