Skip to content

Commit 5ff3627

Browse files
author
John Doe
committed
refactor: wip
1 parent 676b88c commit 5ff3627

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

e2e/nx-plugin-e2e/tests/plugin-create-nodes.e2e.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,12 +198,10 @@ describe('nx-plugin', () => {
198198

199199
const cleanStdout = removeColorCodes(stdout);
200200
// Nx command
201-
throw new Error(cleanStdout); // For easier debugging
202-
expect(cleanStdout).toContain('nx run my-lib:code-pushup');
201+
expect(cleanStdout).toContain('nx run my-lib:code-pushup --dryRun');
203202
// Run CLI executor
204203
expect(cleanStdout).toContain('DryRun execution of:');
205204
expect(cleanStdout).toContain('npx @code-pushup/cli');
206-
expect(cleanStdout).toContain('--dryRun');
207205
expect(cleanStdout).not.toContain('--verbose');
208206
expect(cleanStdout).toContain('CP_VERBOSE=true');
209207
});

0 commit comments

Comments
 (0)