-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
fix(tests): minor fix for transportMode.client test case #2183
fix(tests): minor fix for transportMode.client test case #2183
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 1 Continue to review full report at Codecov.
|
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.
No, we accept a string
.
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. |
I assumed this from the diff (#2116) such that the change was specific to |
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 |
Hope I was able to convey the idea 🤔 |
wrong user mentioned 😅 |
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, |
|
Even |
@jamesgeorge007 yes, you can set |
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