Repository navigation
feat(@angular/cli): read proxyConfig from angular-cli.json - #6493
Conversation
filipesilva
left a comment
There was a problem hiding this comment.
LGTM overall, just a few minor changes to ensure everything is consistent. Good work!
| "proxyConfig": { | ||
| "description": "Proxy configuration file.", | ||
| "type": "string", | ||
| "default": "" |
There was a problem hiding this comment.
Can you remove the default here? It's better to not have one since sending in an empty string is different than not sending anything.
| @@ -0,0 +1,59 @@ | |||
| import * as express from 'express'; | |||
There was a problem hiding this comment.
Can you rename the proxy.ts test to proxy-config.ts, and do all tests in a single file using the --proxy-config flag? I think we must have renamed the flag at one point and forgot to change the test name.
85e6daf to
fe43113
Compare
|
updated - let me know if I missed anything. Thanks. |
|
The tests seem to be failing, there might be something broken in the new set of changes. |
|
tests are failing for me because the command @angular/cli is keeping a port open. Could it be that Is this a known issue? |
|
@ayvazj I'm not sure what's keeping the port open on the revised test, but am reasonably sure It might be that you can't do |
easy proxy config by reading default from angular-cli.json (angular#6240)
|
@filipesilva got some time to revisit this. my bad, I wasn't opening/closing the server properly after consolidating tests, causing downstream tests to fail. |
|
@ayvazj thanks for updating it, there's a test failing but I think it's a fluke so restarted the CI run. Cheers! |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
easy proxy config by reading default from angular-cli.json (#6240)