Skip to content

Commit d250b26

Browse files
fix: 修复测试用例
1 parent 80af4fa commit d250b26

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/integration/cli-arguments.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
import { describe, expect, test } from "bun:test";
2+
import { Command } from "@commander-js/extra-typings";
23

34
// Test Commander.js option parsing independently from main.tsx initialization.
45
// main.tsx has heavy bootstrap dependencies; we test the CLI argument parsing
56
// patterns it uses to ensure correct behavior.
67

7-
const { Command } = require("/Users/konghayao/code/ai/claude-code/node_modules/.old_modules-13e6b62a502cda34/commander/index.js");
8-
98
function createTestProgram(): Command {
109
const program = new Command();
1110
program

0 commit comments

Comments
 (0)