From a721bae33a9e78724779b29877caf78985a62be0 Mon Sep 17 00:00:00 2001 From: Il Harper Date: Wed, 20 Mar 2024 00:57:20 +0800 Subject: [PATCH] test: fix tests --- packages/engine-chronocat-api/tests/mocks/index.ts | 5 +++++ packages/engine-chronocat-event/tests/mocks/index.ts | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/packages/engine-chronocat-api/tests/mocks/index.ts b/packages/engine-chronocat-api/tests/mocks/index.ts index b73a153..3dbc96c 100644 --- a/packages/engine-chronocat-api/tests/mocks/index.ts +++ b/packages/engine-chronocat-api/tests/mocks/index.ts @@ -24,6 +24,11 @@ export const ctx: ChronocatContext = { } as unknown as ChronocatContext['chronocat']['l'], h, } as ChronocatContext['chronocat'], + chronocatEngineChronocatApi: { + msgBoxActiv: { + activate: () => {}, + }, + }, } export const satoriConfig = { diff --git a/packages/engine-chronocat-event/tests/mocks/index.ts b/packages/engine-chronocat-event/tests/mocks/index.ts index c0e9b70..b25e2ce 100644 --- a/packages/engine-chronocat-event/tests/mocks/index.ts +++ b/packages/engine-chronocat-event/tests/mocks/index.ts @@ -11,6 +11,11 @@ export const ctx: ChronocatContext = { } as unknown as ChronocatContext['chronocat']['l'], h, } as ChronocatContext['chronocat'], + chronocatEngineChronocatApi: { + msgBoxActiv: { + activate: () => {}, + }, + }, } export const satoriConfig = {