Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Fill in unimplemented tests #199

Merged
merged 1 commit into from
Dec 19, 2016
Merged

Fill in unimplemented tests #199

merged 1 commit into from
Dec 19, 2016

Conversation

matthewloring
Copy link
Contributor

No description provided.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 17, 2016
debuglet = new Debuglet(fakeDebug, config, logger);

debuglet.once('initError', function(err) {
assert(err);

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@@ -195,11 +205,88 @@ describe(__filename, function(){
debuglet.start();
});

it('should de-activate when the server responds with isDisabled');
it('should de-activate when the server responds with isDisabled', function(done) {

This comment was marked as spam.

This comment was marked as spam.

debuglet.start();
});

it('should re-register when registration expires', function(done) {

This comment was marked as spam.

This comment was marked as spam.

Copy link
Contributor

@ofrobots ofrobots left a comment

Choose a reason for hiding this comment

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

LGTM w/ nits.

});

debuglet.once('registered', function(id) {
assert(id === DEBUGGEE_ID);

This comment was marked as spam.

This comment was marked as spam.

debuglet.once('registered', function(id) {
assert(id === DEBUGGEE_ID);
setImmediate(function() {
assert(debuglet.fetcherActive_);

This comment was marked as spam.

This comment was marked as spam.

});

setTimeout(function() {
assert(!debuglet.fetcherActive_);

This comment was marked as spam.

This comment was marked as spam.

@matthewloring matthewloring merged commit 4dc2aa0 into googleapis:master Dec 19, 2016
@matthewloring matthewloring deleted the tests branch December 19, 2016 19:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants