Fix assert in flow e2e test
- Fix assert by checking plain ">" if env CI variable is not set. - Fixes #576
This commit is contained in:
@@ -36,7 +36,7 @@ describe('flow commands', () => {
|
||||
await cli.keyDown();
|
||||
await waitForExpect(async () => {
|
||||
const screen = cli.screen();
|
||||
expect(screen).toEqual(expect.arrayContaining([expect.stringContaining('> Field2')]));
|
||||
expect(screen).toEqual(expect.arrayContaining([expect.stringMatching(/[>❯] Field2/)]));
|
||||
});
|
||||
|
||||
await cli.keyEnter();
|
||||
|
||||
Reference in New Issue
Block a user