Skip to content

Commit c6fd26b

Browse files
committed
test: make setup help assertion spacing agnostic
1 parent 19c2adb commit c6fd26b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/rstack/tests/cli/setup/index.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ afterEach(() => {
4343
});
4444

4545
test('displays setup help', ({ execCli, expect }) => {
46-
expect(execCli('--help', { cwd })).toContain('setup Install Git hooks');
46+
expect(execCli('--help', { cwd })).toMatch(/setup\s+Install Git hooks/);
4747

4848
const output = execCli('setup --help', { cwd });
4949

0 commit comments

Comments
 (0)