test(cli): expose JavaScript progress workflow failure output
This commit is contained in:
1 parent
1bf9191bd0
commit
701519a5ce
1 file changed
+1
-1
@@ -31,7 +31,7 @@ for (const command of ["analyze-javascript-application", "analyze"]) {
|
||||
if (!direct.ok) throw direct.error;
|
||||
|
||||
const output = await cli.run({ arguments: [command, root, "--json"] });
|
||||
expect(output.exitCode).toBe(0);
|
||||
expect(output.exitCode, `${output.stdout}\n${output.stderr}`).toBe(0);
|
||||
expect(parseEvidence(output.json).evidence_id).toBe(
|
||||
direct.value.evidence_id,
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user