Skip to content

refactor(core): 重构音乐属性与元信息接口设计 #198

refactor(core): 重构音乐属性与元信息接口设计

refactor(core): 重构音乐属性与元信息接口设计 #198

Triggered via push October 31, 2025 03:29
Status Failure
Total duration 30s
Artifacts

test.yml

on: push
Run tests and collect coverage
25s
Run tests and collect coverage
Fit to window
Zoom out
Zoom in

Annotations

10 errors
src/components/info.spec.ts > SNInfo > parseKeySignature > 应该正确解析小调: packages/simple-notation/src/components/content.ts#L42
Error: [vitest] No "Logger" export is defined on the "@utils" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("@utils"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ new SNContent src/components/content.ts:42:5 ❯ src/components/info.spec.ts:105:19
src/components/info.spec.ts > SNInfo > parseKeySignature > 应该正确解析降号调: packages/simple-notation/src/components/content.ts#L42
Error: [vitest] No "Logger" export is defined on the "@utils" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("@utils"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ new SNContent src/components/content.ts:42:5 ❯ src/components/info.spec.ts:105:19
src/components/info.spec.ts > SNInfo > parseKeySignature > 应该正确解析升号调: packages/simple-notation/src/components/content.ts#L42
Error: [vitest] No "Logger" export is defined on the "@utils" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("@utils"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ new SNContent src/components/content.ts:42:5 ❯ src/components/info.spec.ts:105:19
src/components/info.spec.ts > SNInfo > drawTitle > 不应在未提供标题时绘制标题: packages/simple-notation/src/components/content.ts#L42
Error: [vitest] No "Logger" export is defined on the "@utils" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("@utils"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ new SNContent src/components/content.ts:42:5 ❯ src/components/info.spec.ts:105:19
src/components/info.spec.ts > SNInfo > drawTitle > 应该在提供标题时绘制标题: packages/simple-notation/src/components/content.ts#L42
Error: [vitest] No "Logger" export is defined on the "@utils" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("@utils"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ new SNContent src/components/content.ts:42:5 ❯ src/components/info.spec.ts:105:19
src/components/info.spec.ts > SNInfo > 应该正确初始化信息区域: packages/simple-notation/src/components/content.ts#L42
Error: [vitest] No "Logger" export is defined on the "@utils" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("@utils"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ new SNContent src/components/content.ts:42:5 ❯ src/components/info.spec.ts:105:19
src/components/content.spec.ts > SNContent > destroyed 应该移除内容元素: packages/simple-notation/src/components/content.ts#L58
TypeError: root.getEventBus is not a function ❯ new SNContent src/components/content.ts:58:27 ❯ src/components/content.spec.ts:178:21
src/components/content.spec.ts > SNContent > drawScore 应该更新谱面区域: packages/simple-notation/src/components/content.ts#L58
TypeError: root.getEventBus is not a function ❯ new SNContent src/components/content.ts:58:27 ❯ src/components/content.spec.ts:161:21
src/components/content.spec.ts > SNContent > drawInfo 应该更新信息区域: packages/simple-notation/src/components/content.ts#L58
TypeError: root.getEventBus is not a function ❯ new SNContent src/components/content.ts:58:27 ❯ src/components/content.spec.ts:143:21
src/components/content.spec.ts > SNContent > 应该正确初始化内容容器: packages/simple-notation/src/components/content.ts#L58
TypeError: root.getEventBus is not a function ❯ new SNContent src/components/content.ts:58:27 ❯ src/components/content.spec.ts:91:21