Uh oh!
There was an error while loading. Please reload this page.
fix(tests): minor fix for transportMode.client test case - #2183
fix(tests): minor fix for transportMode.client test case#2183jamesgeorge007 wants to merge 1 commit into
Conversation
Codecov Report
@@ Coverage Diff @@## master #2183 +/- ##
=======================================
Coverage 96.08% 96.08% =======================================
Files 34 34 Lines 1227 1227 Branches 349 349 =======================================
Hits 1179 1179 Misses 47 47 Partials 1 1Continue to review full report at Codecov.
|
Why do you introduce this change? We must add these cases. string: transportMode: 'sockjs', 'ws' And we've already had enough test cases. This change breaks the above test cases. |
jamesgeorge007
commented
Aug 9, 2019
I assumed this from the diff (#2116) such that the change was specific to |
jamesgeorge007
commented
Aug 9, 2019
As seen from the test-case it is something specific to |
@jamesblight what is problem here? We support |
@evilebottnawi as per what I see, the test was specific for |
jamesgeorge007
commented
Aug 9, 2019
Hope I was able to convey the idea 🤔 |
jamesgeorge007
commented
Aug 9, 2019
wrong user mentioned 😅 |
alexander-akait
commented
Aug 9, 2019
I think test is right here |
options: {clientMode: 'sockjs'}was updated to be:- options: {transportMode: 'sockjs'}As per what I infer, instead of having transportMode: {client: '',server: ''}Hence, |
alexander-akait
commented
Aug 9, 2019
|
jamesgeorge007
commented
Aug 9, 2019
Even |
alexander-akait
commented
Aug 9, 2019
@jamesgeorge007 yes, you can set |
knagaitsev
commented
Aug 9, 2019
When we just had: We were relying on the fact that the default serverMode was also This is better, because it specifies both the client and server modes explicitly: since it is equivalent to: |

For Bugs and Features; did you add new tests?
N/A
Motivation / Use-Case
There was a slight typo in #2116 that got unnoticed.
Breaking Changes
N/A
Additional Info
N/A