From 97d97fbc5d95f081abdc7e85fc2f47172d6bea73 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20T=C3=A9treault?= Date: Sat, 15 Oct 2016 20:40:19 -0400 Subject: [PATCH] Fix the test of SVG.FX.afterAll --- spec/spec/fx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/spec/fx.js b/spec/spec/fx.js index c985df1..cca5f84 100644 --- a/spec/spec/fx.js +++ b/spec/spec/fx.js @@ -170,7 +170,7 @@ describe('FX', function() { describe('afterAll()', function() { it('adds a callback which is called when all animations are finished', function(done) { - fx.start().after(function(){ + fx.animate(150).animate(125).start().afterAll(function(){ expect(fx.pos).toBe(1) expect(fx.situations.length).toBe(0) done() -- 2.39.5