Skip to content

Commit

Permalink
test: use random ng serve ports
Browse files Browse the repository at this point in the history
  • Loading branch information
jbedard committed Jul 28, 2022
1 parent e530502 commit 9bcc2fa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/legacy-cli/e2e/utils/project.ts
Expand Up @@ -171,6 +171,11 @@ export function useCIDefaults(projectName = 'test-project') {
// Use a random port in e2e.
appTargets.e2e.options.port = 0;
}

if (appTargets.serve) {
// Use a random port in serve.
appTargets.serve.options.port = 0;
}
});
}

Expand Down

0 comments on commit 9bcc2fa

Please sign in to comment.