浏览代码

clean-up unit tests

release-8443
Jaya Allamsetty 5 年前
父节点
当前提交
a7d48cecd6
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 0
    1
      modules/RTC/MockClasses.js
  2. 1
    1
      modules/xmpp/ChatRoom.spec.js

+ 0
- 1
modules/RTC/MockClasses.js 查看文件

35
         return Promise.resolve(/* answer */{});
35
         return Promise.resolve(/* answer */{});
36
     }
36
     }
37
 
37
 
38
-
39
     /**
38
     /**
40
      * {@link TraceablePeerConnection.setLocalDescription}.
39
      * {@link TraceablePeerConnection.setLocalDescription}.
41
      *
40
      *

+ 1
- 1
modules/xmpp/ChatRoom.spec.js 查看文件

146
                 'jid',
146
                 'jid',
147
                 'password',
147
                 'password',
148
                 xmpp,
148
                 xmpp,
149
-                { preferredCodec: 'vp8' } /* options */);
149
+                {} /* options */);
150
             emitterSpy = spyOn(room.eventEmitter, 'emit');
150
             emitterSpy = spyOn(room.eventEmitter, 'emit');
151
         });
151
         });
152
         it('parses status correctly', () => {
152
         it('parses status correctly', () => {

正在加载...
取消
保存