mirror of
https://github.com/cline/cline.git
synced 2026-10-29 17:42:34 +08:00
path name
This commit is contained in:
@@ -211,15 +211,15 @@ async function main() {
|
||||
const runParallel = args.includes("--parallel")
|
||||
|
||||
if (paths.length < 3) {
|
||||
console.log("Usage: npx tsx TestRunner.ts [test_directory] [config_path] [output_path] [--parallel]")
|
||||
console.log("Usage: npx tsx TestRunner.ts [test_path] [config_path] [output_path] [--parallel]")
|
||||
process.exit(1)
|
||||
}
|
||||
|
||||
const [testDir, configPath, outputPath] = paths
|
||||
const [testPath, configPath, outputPath] = paths
|
||||
|
||||
try {
|
||||
const runner = new NodeTestRunner()
|
||||
const testCases = await runner.loadTestCases(testDir)
|
||||
const testCases = await runner.loadTestCases(testPath)
|
||||
const testConfig = await runner.loadTestConfig(configPath)
|
||||
|
||||
const processedTestCases: ProcessedTestCase[] = testCases.map((tc) => ({
|
||||
|
||||
Reference in New Issue
Block a user