We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent beebe69 commit ff7d045Copy full SHA for ff7d045
packages/nx-plugin/src/executors/cli/executor.int.test.ts
@@ -60,14 +60,12 @@ describe('runAutorunExecutor', () => {
60
}),
61
);
62
expect(executeProcessSpy).toHaveBeenCalledTimes(1);
63
- expect(executeProcessSpy).toHaveBeenCalledWith({
64
- command: 'npx',
65
- args: expect.arrayContaining(['@code-pushup/cli']),
66
- cwd: process.cwd(),
67
- observer: {
68
- onError: expect.any(Function),
69
- onStdout: expect.any(Function),
70
- },
71
- });
+ expect(executeProcessSpy).toHaveBeenCalledWith(
+ expect.objectContaining({
+ command: 'npx',
+ args: expect.arrayContaining(['@code-pushup/cli']),
+ cwd: expect.any(String),
+ }),
+ );
72
});
73
0 commit comments