You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by da...@apache.org on 2017/07/20 08:29:50 UTC
[20/50] incubator-weex git commit: - [html5] remove useless code
- [html5] remove useless code
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/a1a6b2cc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/a1a6b2cc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/a1a6b2cc
Branch: refs/heads/0.15-dev
Commit: a1a6b2cc5fb57649961ef0e6338be93739639a6b
Parents: 5521172
Author: erha19 <fa...@gmail.com>
Authored: Thu Jul 13 13:18:49 2017 +0800
Committer: erha19 <fa...@gmail.com>
Committed: Thu Jul 13 13:18:49 2017 +0800
----------------------------------------------------------------------
html5/test/render/vue/modules/websocket.js | 2 --
1 file changed, 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/a1a6b2cc/html5/test/render/vue/modules/websocket.js
----------------------------------------------------------------------
diff --git a/html5/test/render/vue/modules/websocket.js b/html5/test/render/vue/modules/websocket.js
index 3b34c51..d5a3c0d 100644
--- a/html5/test/render/vue/modules/websocket.js
+++ b/html5/test/render/vue/modules/websocket.js
@@ -85,12 +85,10 @@ describe('webSocket module', () => {
it('url is undefined', function (done) {
websocket.WebSocket('')
expect(websocket.INSTANCE).to.be.null
- done()
})
it('both url and protocol is defined', function (done) {
websocket.WebSocket(TestUrl, 'ws')
expect(websocket.INSTANCE).not.to.be.null
- done()
})
})
})