Skip to content

Commit 76bf646

Browse files
committed
ok this
1 parent 05445fe commit 76bf646

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/integration/run-command.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ describe("runCommand", () => {
8888

8989
const stderr = result.content[1];
9090
// 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"));
91+
expect(stderr.text).toMatch(/nonexistentcommand.*not found/i);
92+
// gh actions:
93+
// /bin/sh: 1: nonexistentcommand: not found
9494

9595
expect(stderr.name).toContain("STDERR");
9696
});

0 commit comments

Comments
 (0)