feat(POSTV1-ASSET-ALL-16): 发布完整素材注册清单
Dada P0-A isolated Windows CI / validate-and-package (push) Waiting to run
Dada P0-A isolated Windows CI / validate-and-package (push) Waiting to run
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
import {
|
||||
P0A_COLOR_CARD_IDS,
|
||||
P0A_DYNAMIC_STICKER_IDS,
|
||||
P0A_REQUIRED_FONT_PANEL_IDS,
|
||||
P0A_TEXT_TEMPLATE_IDS,
|
||||
} from "../../packages/template-registry/src/index.js";
|
||||
|
||||
describe("POSTV1-ASSET-ALL-16 complete asset catalog", () => {
|
||||
it("publishes every normalized complex asset instead of the original alpha subset", () => {
|
||||
expect(P0A_TEXT_TEMPLATE_IDS).toHaveLength(332);
|
||||
expect(P0A_TEXT_TEMPLATE_IDS[0]).toBe("FLOWER001");
|
||||
expect(P0A_TEXT_TEMPLATE_IDS.at(-1)).toBe("SIMPLE017");
|
||||
|
||||
expect(P0A_REQUIRED_FONT_PANEL_IDS).toHaveLength(86);
|
||||
expect(P0A_REQUIRED_FONT_PANEL_IDS[0]).toBe("FONT001");
|
||||
expect(P0A_REQUIRED_FONT_PANEL_IDS.at(-1)).toBe("FONT086");
|
||||
|
||||
expect(P0A_COLOR_CARD_IDS).toHaveLength(16);
|
||||
expect(P0A_COLOR_CARD_IDS[0]).toBe("COLOR001");
|
||||
expect(P0A_COLOR_CARD_IDS.at(-1)).toBe("COLOR016");
|
||||
|
||||
expect(P0A_DYNAMIC_STICKER_IDS).toHaveLength(35);
|
||||
expect(P0A_DYNAMIC_STICKER_IDS[0]).toBe("DYN001");
|
||||
expect(P0A_DYNAMIC_STICKER_IDS.at(-1)).toBe("DYN035");
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user