fix: fix tests

This commit is contained in:
2026-04-05 10:42:38 +08:00
parent c4290841e5
commit 8c2c6dc94c
5 changed files with 51 additions and 412 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import { describe, it, expect } from 'vitest';
import { registry, createInitialState, BoopState } from '@/samples/boop';
import { createGameContext } from '@/index';
import { createGameContext } from '@/core/game';
import type { PromptEvent } from '@/utils/command';
function createTestContext() {
+1 -1
View File
@@ -10,7 +10,7 @@ import {
WinnerType,
PlayerType
} from '@/samples/tic-tac-toe';
import { createGameContext } from '@/index';
import { createGameContext } from '@/core/game';
import type { PromptEvent } from '@/utils/command';
function createTestContext() {