修复ci测试

This commit is contained in:
YHH
2025-08-08 15:41:37 +08:00
parent 87dd564a12
commit 854fd7df3a
15 changed files with 211 additions and 265 deletions

View File

@@ -173,7 +173,7 @@ describe('EventBus - 事件总线测试', () => {
});
test('应该能够设置调试模式', () => {
const consoleSpy = jest.spyOn(console, 'log').mockImplementation(() => {});
const consoleSpy = jest.spyOn(console, 'info').mockImplementation(() => {});
eventBus.setDebugMode(true);
eventBus.on('debug:event', () => {});