Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavohenke committed Aug 13, 2024
1 parent acfb067 commit 3146a10
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/concurrently.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,13 +272,13 @@ it('uses raw from options for each command', () => {
expect(spawn).toHaveBeenCalledWith(
'echo',
expect.objectContaining({
stdio: 'inherit',
stdio: ['inherit', 'inherit', 'inherit'],
}),
);
expect(spawn).toHaveBeenCalledWith(
'kill',
expect.objectContaining({
stdio: 'inherit',
stdio: ['inherit', 'inherit', 'inherit'],
}),
);
});
Expand All @@ -292,13 +292,13 @@ it('uses overridden raw option for each command if specified', () => {
expect(spawn).toHaveBeenCalledWith(
'echo',
expect.objectContaining({
stdio: 'pipe',
stdio: ['pipe', 'pipe', 'pipe'],
}),
);
expect(spawn).toHaveBeenCalledWith(
'echo',
expect.objectContaining({
stdio: 'inherit',
stdio: ['inherit', 'inherit', 'inherit'],
}),
);
});
Expand All @@ -312,7 +312,7 @@ it('uses hide from options for each command', () => {
expect(spawn).toHaveBeenCalledWith(
'echo',
expect.objectContaining({
stdio: 'pipe',
stdio: ['pipe', 'pipe', 'pipe'],
}),
);
expect(spawn).toHaveBeenCalledWith(
Expand All @@ -333,7 +333,7 @@ it('hides output for commands even if raw option is on', () => {
expect(spawn).toHaveBeenCalledWith(
'echo',
expect.objectContaining({
stdio: 'inherit',
stdio: ['inherit', 'inherit', 'inherit'],
}),
);
expect(spawn).toHaveBeenCalledWith(
Expand Down

0 comments on commit 3146a10

Please sign in to comment.