瀏覽代碼

clean-up unit tests

tags/v0.0.2
Jaya Allamsetty 4 年之前
父節點
當前提交
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,7 +35,6 @@ export class MockPeerConnection {
35 35
         return Promise.resolve(/* answer */{});
36 36
     }
37 37
 
38
-
39 38
     /**
40 39
      * {@link TraceablePeerConnection.setLocalDescription}.
41 40
      *

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

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

Loading…
取消
儲存