Skip to content

Commit b555148

Browse files
committed
Fix assert in flow e2e test
- Fix assert by checking plain ">" if env CI variable is not set. - Fixes #576
1 parent 0899d41 commit b555148

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e/spring-shell-e2e-tests/test/flow.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ describe('flow commands', () => {
3636
await cli.keyDown();
3737
await waitForExpect(async () => {
3838
const screen = cli.screen();
39-
expect(screen).toEqual(expect.arrayContaining([expect.stringContaining('> Field2')]));
39+
expect(screen).toEqual(expect.arrayContaining([expect.stringMatching(/[>] Field2/)]));
4040
});
4141

4242
await cli.keyEnter();

0 commit comments

Comments
 (0)