fix(e2e): split test paths for bun test args array
e2e.ts runTest was passing all paths as single string argument, causing bun to treat it as one malformed path. Split on spaces to properly pass multiple test paths. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -52,7 +52,8 @@ function runCmd(label: string, cmd: string, args: string[], cwd?: string, timeou
|
||||
*/
|
||||
function runTest(label: string, testPath: string): { pass: boolean; detail: string } {
|
||||
const bun = findBun()
|
||||
return runCmd(label, bun, ['test', testPath])
|
||||
const paths = testPath.split(' ').filter(p => p.length > 0)
|
||||
return runCmd(label, bun, ['test', ...paths])
|
||||
}
|
||||
|
||||
export function e2eCommand(): void {
|
||||
|
||||
Reference in New Issue
Block a user