Skip to content
Browse files

Fix transition test.

  • Loading branch information...
1 parent 8ed6883 commit 3aaa7285574aff7e03a297977277215c94f6faa6 @mbostock committed
Showing with 5 additions and 7 deletions.
  1. +5 −7 test/transition/transition-test-transition.js
View
12 test/transition/transition-test-transition.js
@@ -27,13 +27,11 @@ module.exports = {
"while transitioning": {
topic: function(t1) {
var callback = this.callback;
- var t2 = t1.transition().tween("custom", function() {
- return function(t) {
- if (callback) {
- callback(null, t2);
- callback = null;
- }
- };
+ var t2 = t1.transition().each("start", function() {
+ if (callback) {
+ callback(null, t2);
+ callback = null;
+ }
});
},
"increments the lock's reference count": function(t2) {

0 comments on commit 3aaa728

Please sign in to comment.
Something went wrong with that request. Please try again.