Skip to content

Commit

Permalink
fix(repo): remove command from the output to match test
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav committed Mar 29, 2023
1 parent c4a2388 commit e4be316
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion e2e/nx-run/src/affected-graph.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,12 @@ describe('Nx Affected and Graph Tests', () => {

const affectedProjects = runCLI(
'print-affected --uncommitted --select projects'
).split(', ');
)
.replace(
/.*nx print-affected --uncommitted --select projects( --verbose)?\n/,
''
)
.split(', ');

expect(affectedProjects).toContain(myapp);
expect(affectedProjects).toContain(myapp2);
Expand Down

0 comments on commit e4be316

Please sign in to comment.