Skip to content

Commit

Permalink
stringmatching => stringcontaining
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavohenke committed Dec 28, 2021
1 parent 72ba7eb commit 7b77967
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/concurrently.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,10 @@ describe('--group', () => {
const child = run('--group "echo foo && sleep 1 && echo bar" "echo baz"');
child.log.pipe(buffer(child.close)).subscribe(lines => {
expect(lines.slice(0, 4)).toEqual([
expect.stringMatching(/foo$/),
expect.stringMatching(/bar$/),
expect.stringContaining('foo'),
expect.stringContaining('bar'),
expect.any(String),
expect.stringMatching(/baz$/),
expect.stringContaining('baz'),
]);
done();
}, done);
Expand Down

0 comments on commit 7b77967

Please sign in to comment.