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/03 03:44:55 UTC
[06/13] incubator-weex git commit: * [html5] fix webSocket unit test
code
* [html5] fix webSocket unit test 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/60f9c1d2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/60f9c1d2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/60f9c1d2
Branch: refs/heads/0.15-dev
Commit: 60f9c1d25bbbabf17ec76f9d4d12fcf72ebc0827
Parents: 8295abc
Author: erha19 <fa...@gmail.com>
Authored: Thu Jun 29 17:09:20 2017 +0800
Committer: erha19 <fa...@gmail.com>
Committed: Thu Jun 29 17:09:20 2017 +0800
----------------------------------------------------------------------
html5/test/render/vue/modules/websocket.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/60f9c1d2/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 2fb566e..dc3441c 100644
--- a/html5/test/render/vue/modules/websocket.js
+++ b/html5/test/render/vue/modules/websocket.js
@@ -48,7 +48,7 @@ describe('webSocket module', function() {
});
it('constants', function() {
- expect(websocket.INSTANCE, 'to be defined');
+ expect(websocket, 'should INSTANCE to be defined').to.have.property('INSTANCE');
});
});