mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1189838 - Fix test coverage for Loop, r=dmose
This commit is contained in:
parent
260ad0caa2
commit
aa3ddc5ecf
@ -102,8 +102,13 @@ describe("loop.conversationViews", function () {
|
||||
sdkDriver: {}
|
||||
});
|
||||
|
||||
var textChatStore = new loop.store.TextChatStore(dispatcher, {
|
||||
sdkDriver: {}
|
||||
});
|
||||
|
||||
loop.store.StoreMixin.register({
|
||||
conversationStore: conversationStore
|
||||
conversationStore: conversationStore,
|
||||
textChatStore: textChatStore
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -227,9 +227,9 @@ describe("loop.shared.mixins", function() {
|
||||
|
||||
sandbox.stub(view, "getDOMNode").returns({
|
||||
querySelector: function(classSelector) {
|
||||
if (classSelector.includes("local")) {
|
||||
if (classSelector.indexOf("local") > -1) {
|
||||
return localElement;
|
||||
} else if (classSelector.includes("screen")) {
|
||||
} else if (classSelector.indexOf("screen") > -1) {
|
||||
return screenShareElement;
|
||||
}
|
||||
return remoteElement;
|
||||
|
Loading…
Reference in New Issue
Block a user