Files
clh02467605 d646a4e780 refactor(e2e): update test routes and streamline command handling
- Replaced hardcoded command paths with dynamic route mappings in E2E tests.
- Enhanced documentation for command testing, specifying minimum route requirements.
- Consolidated command path management into `topic-routes.ts` for better maintainability.
- Updated various E2E test cases to utilize the new routing structure, ensuring consistency across tests.
- Removed redundant helper functions and improved test clarity by directly referencing route exports.
2026-07-10 15:55:53 +08:00

14 lines
449 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import pkg from "../../../package.json" with { type: "json" };
/**
* commands E2E harness 产品身份。
* version 取自 commands 包(与 monorepo 同步npmPackage 使用非发布名以阻断
* versionCheckStage 的 registry 查询与 CI 中的 auto-update。
*/
export const E2E_HARNESS_IDENTITY = {
binName: "bl",
version: pkg.version,
clientName: "commands-e2e",
npmPackage: "bailian-cli-commands-e2e-harness",
} as const;