Last active
October 9, 2017 18:55
-
-
Save classiemilio/35a33b87b8e5b185ff816aaeae4b7295 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const D3TestUtils = { | |
clockTick(milliseconds) { | |
const currentNow = Date.now(); | |
Date.now = function() { | |
return currentNow + milliseconds; | |
} | |
d3.timer.flush(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment