Skip to content

Commit 1f2712a

Browse files
committed
refactor: fix ci int test
1 parent be19204 commit 1f2712a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/ci/src/lib/create-execution-observer.int.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ describe('createExecutionObserver', () => {
99
it('should use execute process and use observer to capture stdout message and stderr will be empty', async () => {
1010
const { stdout, stderr } = await executeProcess({
1111
command: 'node',
12-
args: ['-e', `"console.log('${message}');"`],
12+
args: ['-e', `console.log('${message}');`],
1313
observer: createExecutionObserver(),
1414
});
1515

@@ -20,7 +20,7 @@ describe('createExecutionObserver', () => {
2020
it('should use execute process and use observer to capture stdout message and stderr will be error', async () => {
2121
const { stdout, stderr } = await executeProcess({
2222
command: 'node',
23-
args: ['-e', `"console.log('${message}'); console.error('${error}');"`],
23+
args: ['-e', `console.log('${message}'); console.error('${error}');`],
2424
observer: createExecutionObserver(),
2525
});
2626

@@ -31,7 +31,7 @@ describe('createExecutionObserver', () => {
3131
it('should use execute process and use observer to capture stderr error and ignore stdout message', async () => {
3232
const { stdout, stderr } = await executeProcess({
3333
command: 'node',
34-
args: ['-e', `"console.log('${message}'); console.error('${error}');"`],
34+
args: ['-e', `console.log('${message}'); console.error('${error}');`],
3535
observer: createExecutionObserver({ silent: true }),
3636
});
3737

0 commit comments

Comments
 (0)