Skip to content

Commit 8839f04

Browse files
committed
log response object, much easier to understand than these assertions
1 parent 5e05818 commit 8839f04

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/integration/exec-utils.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ describe("execFileWithInput integration tests", () => {
2222
await execFileWithInput("bash", "nonexistentcommand", {});
2323
fail("Should have thrown an error");
2424
} catch (error: any) {
25+
console.log(error)
2526
expect(error.stderr).toContain("bash: line 1: nonexistentcommand: command not found");
2627
expect(error.message).toContain("Command failed: bash\nbash: line 1: nonexistentcommand: command not found\n");
2728
}

0 commit comments

Comments
 (0)