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

Fill in unimplemented tests#199

Merged
matthewloring merged 1 commit intogoogleapis:masterfrom
matthewloring:tests
Dec 19, 2016
Merged

Fill in unimplemented tests#199
matthewloring merged 1 commit intogoogleapis:masterfrom
matthewloring:tests

Conversation

@matthewloring
Copy link
Copy Markdown
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.

});

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
Copy Markdown
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.

3 participants