diff options
author | Rémi Tétreault <tetreault.remi@gmail.com> | 2016-10-15 20:40:19 -0400 |
---|---|---|
committer | Rémi Tétreault <tetreault.remi@gmail.com> | 2016-10-15 20:40:19 -0400 |
commit | 97d97fbc5d95f081abdc7e85fc2f47172d6bea73 (patch) | |
tree | a2e7f20b407d0e8a29765ff9b306f21a478be723 /spec | |
parent | a7dab3cc5e277a13926aa457e2d7f18585240a41 (diff) | |
download | svg.js-97d97fbc5d95f081abdc7e85fc2f47172d6bea73.tar.gz svg.js-97d97fbc5d95f081abdc7e85fc2f47172d6bea73.zip |
Fix the test of SVG.FX.afterAll
Diffstat (limited to 'spec')
-rw-r--r-- | spec/spec/fx.js | 2 |
1 files changed, 1 insertions, 1 deletions
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() |