Skip to content

feat(parser): 更新 ABC 解析器以支持声部元数据的完整解析 #220

feat(parser): 更新 ABC 解析器以支持声部元数据的完整解析

feat(parser): 更新 ABC 解析器以支持声部元数据的完整解析 #220

Triggered via push November 8, 2025 07:06
Status Failure
Total duration 24s
Artifacts

test.yml

on: push
Run tests and collect coverage
20s
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