You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suppose it could.. we would still need to do two rounds of replacing? The step that normally replaces [BUILD_REPLACEABLE_....] and currently puts the :8001 would still need to insert some more maybe [TEST_REPLACEABLE_MOCK_PORT] and then that would be replaced here.
It's true that as things are now, there is no meaning to the :8001 in particular. So that should not be put it, to not be confusing. So [TEST_REPLACEABLE_MOCK_PORT] or similar would be a better choice here.
I suggest to also implement removing the lines that have this token, e.g. the line email = email.replace(/\:[TEST_REPLACEABLE_MOCK_PORT]$/, '');
would ideally disappear from the production build.
* feat: use test replaceable port
* fix: pr reviews
* fix: unit test
* fix: ui test
* fix: writeFile
* fix: ppr reviews
* fix: remove port check
* Revert "fix: remove port check"
This reverts commit d7a2022.
* fix: mock port variable
* Revert "fix: mock port variable"
This reverts commit 017ac27.
* fix: pr reviews
I suppose it could.. we would still need to do two rounds of replacing? The step that normally replaces
[BUILD_REPLACEABLE_....]
and currently puts the:8001
would still need to insert some more maybe[TEST_REPLACEABLE_MOCK_PORT]
and then that would be replaced here.It's true that as things are now, there is no meaning to the
:8001
in particular. So that should not be put it, to not be confusing. So[TEST_REPLACEABLE_MOCK_PORT]
or similar would be a better choice here.Originally posted by @tomholub in #4928 (comment)
The text was updated successfully, but these errors were encountered: