We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e2a099 commit a90f273Copy full SHA for a90f273
tests/integration/exec-utils.test.ts
@@ -23,7 +23,7 @@ describe("execFileWithInput integration tests", () => {
23
fail("Should have thrown an error");
24
} catch (error: any) {
25
expect(error.stderr).toContain("bash: line 1: nonexistentcommand: command not found");
26
- expect(error.message).toBeTruthy();
+ expect(error.message).toContain("Command failed: bash\nbash: line 1: nonexistentcommand: command not found\n");
27
}
28
});
29
0 commit comments