- [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 <faterr...@gmail.com> Authored: Thu Jul 13 13:18:49 2017 +0800 Committer: erha19 <faterr...@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() }) }) })