Skip to content
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.

Bug 1210754 - Use InitPublisher completion handler callbacks for hand… #30

Merged
merged 1 commit into from
Jan 8, 2016

Conversation

daveccrit
Copy link
Contributor

…ling getUserMedia errors

sinon.assert.calledOnce(driver._onScreenSharePublishComplete);
});

it("should call onScreenSharePublishError from onScreenSharePublishComplete on error", function() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: indentation (the entire "it" here is too far indented).

@daveccrit daveccrit force-pushed the 1210754-initPublisher branch 4 times, most recently from c46e0d2 to 866fbfc Compare January 5, 2016 23:30
@@ -159,6 +161,58 @@ describe("loop.OTSdkDriver", function() {
});
});

describe("#initPublisherComplete", function() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I missed this before. Can you merge this describe("#initPublisherComplete") with the previous one describe("setupStreamElements").

Bascially you want to end up with one describe for setupStreamElements, and move the beforeEach to the top of the describe.

@daveccrit daveccrit force-pushed the 1210754-initPublisher branch 2 times, most recently from 8871290 to b270067 Compare January 6, 2016 22:29
@daveccrit daveccrit merged commit 30805b8 into mozilla:master Jan 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants