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 05445fe commit 76bf646Copy full SHA for 76bf646
tests/integration/run-command.test.ts
@@ -88,9 +88,9 @@ describe("runCommand", () => {
88
89
const stderr = result.content[1];
90
// Verify error message contains the command name
91
- expect(stderr.text).toEqual(
92
- expect.stringContaining("/bin/sh: nonexistentcommand: command not found\n")
93
- || expect.stringContaining("/bin/sh: 1: nonexistentcommand: not found"));
+ expect(stderr.text).toMatch(/nonexistentcommand.*not found/i);
+ // gh actions:
+ // /bin/sh: 1: nonexistentcommand: not found
94
95
expect(stderr.name).toContain("STDERR");
96
});
0 commit comments