From 50bf029625d603fc652f0f413e709f43803743db Mon Sep 17 00:00:00 2001 From: Olivier Louvignes Date: Thu, 2 Jan 2014 12:26:43 +0100 Subject: fix(animate): remove trailing `s` --- test/ngAnimate/animateSpec.js | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/ngAnimate/animateSpec.js b/test/ngAnimate/animateSpec.js index fedea535..15bb0f5c 100644 --- a/test/ngAnimate/animateSpec.js +++ b/test/ngAnimate/animateSpec.js @@ -1126,6 +1126,7 @@ describe("ngAnimate", function() { $rootScope.$digest(); $timeout.flush(); + expect(elements[0].attr('style')).toMatch(/transition-duration: 1\d*s,\s*3\d*s;/); expect(elements[0].attr('style')).not.toContain('transition-delay'); expect(elements[1].attr('style')).toMatch(/transition-delay: 2\.1\d*s,\s*4\.1\d*s/); expect(elements[2].attr('style')).toMatch(/transition-delay: 2\.2\d*s,\s*4\.2\d*s/); -- cgit v1.2.3