I\'m looking for a D3 equivalent to jQuery.fx.off = true.
Say you are writing tests (with Mocha, QUnit, etc.) for an app that uses D3. The app has some D3 animations
One approach you could take is to use a fake timer in your testing suite, like Sinon, which works with Mocha or QUnit. Jasmine also has a mock timer built in. I'd think this a better approach because it means the code you're testing is closer to the running code (as opposed to sabotaging the transition functions).