Skip to content

Commit

Permalink
chore(repo): fix output style e2e for windows (#10527)
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav committed May 31, 2022
1 parent 3d97203 commit d200818
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions e2e/cli/src/output-style.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import { newProject, runCLI, updateProjectConfig } from '@nrwl/e2e/utils';
import {
isNotWindows,
newProject,
runCLI,
updateProjectConfig,
} from '@nrwl/e2e/utils';

describe('Output Style', () => {
beforeEach(() => newProject());
Expand All @@ -24,7 +29,7 @@ describe('Output Style', () => {
});

const withPrefixes = runCLI(`echo ${myapp} --output-style=stream`).split(
'\n'
isNotWindows() ? '\n' : '\r\n'
);
expect(withPrefixes).toContain(`[${myapp}] 1`);
expect(withPrefixes).toContain(`[${myapp}] 2`);
Expand Down

0 comments on commit d200818

Please sign in to comment.