-
Notifications
You must be signed in to change notification settings - Fork 2
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
16 tests #23
16 tests #23
Conversation
zatziky
commented
Apr 14, 2019
•
edited
edited
- I couldn't find a way how to make it run with mocha.opts. I've also tried to replace mocha with jest. This is the only workaround I have found - feat: default url in register.js component preventing SecurityError rstacruz/jsdom-global#50
test/connect.spec.js
Outdated
|
||
import chai from 'chai' | ||
import amioChat from '../lib/amio-chat-sdk-web' | ||
// import {amioChat} from '../src/amio-chat-client' |
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.
delete this
src/amio-chat-client.js
Outdated
@@ -15,7 +16,22 @@ class AmioChatClient { | |||
return connection.connect(config) | |||
} | |||
|
|||
// TODO to docs |
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.
Let's not submit code with TODOs and undocumented functions
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.
Unapproving