Skip to content

Commit 229ad9e

Browse files
jbedardalan-agius4
andauthored
Update tests/legacy-cli/e2e/utils/project.ts
Co-authored-by: Alan Agius <[email protected]>
1 parent 358f4a5 commit 229ad9e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/legacy-cli/e2e/utils/project.ts

+1
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ export function useCIDefaults(projectName = 'test-project') {
174174

175175
if (appTargets.serve) {
176176
// Use a random port in serve.
177+
appTargets.serve.options ?? = {};
177178
appTargets.serve.options.port = 0;
178179
}
179180
});

0 commit comments

Comments
 (0)