-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat(server): serverMode 'ws' option #2082
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(server): serverMode 'ws' option #2082
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2082 +/- ##
==========================================
+ Coverage 94.46% 94.47% +<.01%
==========================================
Files 32 32
Lines 1210 1212 +2
Branches 334 335 +1
==========================================
+ Hits 1143 1145 +2
Misses 65 65
Partials 2 2
Continue to review full report at Codecov.
|
alexander-akait
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/cc @hiroppy
|
@Loonride plz rebase |
4c12f80 to
34f3219
Compare
|
I just added some tests to confirm through mocks that the server interacts with the socket server implementation correctly. I'm not sure if |
|
I think it is ok. |
fbb855a to
68c07ba
Compare
|
Something wrong with prettier, need fix |
|
Not sure what the problem was exactly, but seems to be fixed |
alexander-akait
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/cc @hiroppy
* feat(server): server mode ws string option * test(server): rearrange bad host test * test(server): added mock server implementation tests * test(server): remove bad host test temporarily * test(server): re added bad host test
* feat(server): server mode ws string option * test(server): rearrange bad host test * test(server): added mock server implementation tests * test(server): remove bad host test temporarily * test(server): re added bad host test
For Bugs and Features; did you add new tests?
Yes
Motivation / Use-Case
Adds the option
serverMode: 'ws'. Please review and merge #2077 before this.I still want to work on
serverMode-option.test.jsfurther such that it tests to see thatServer.jsinteracts with a socket server implementation correctly. Currently, it only checks thatServer.jscalls the constructor of the server implementation. I will work on this later.Breaking Changes
None
Additional Info