mirror of
https://github.com/modelstudioai/cli.git
synced 2026-09-14 19:49:23 +08:00
d646a4e780
- 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.
14 lines
449 B
TypeScript
14 lines
449 B
TypeScript
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;
|