Skip to content

Instantly share code, notes, and snippets.

@briancavalier
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save briancavalier/cc525121f1fc7562416e to your computer and use it in GitHub Desktop.
Save briancavalier/cc525121f1fc7562416e to your computer and use it in GitHub Desktop.
'=>test': function(done) {
this.clock = this.useFakeTimers();
this.useFakeTimers();
setTimeout(done, 1000);
console.log(this.clock.timeouts);
this.clock.tick(5000);
assert(true);
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment