diff options
| author | Olivier Louvignes | 2014-01-02 12:26:43 +0100 |
|---|---|---|
| committer | Matias Niemelä | 2014-01-02 11:00:31 -0500 |
| commit | 50bf029625d603fc652f0f413e709f43803743db (patch) | |
| tree | 468cd6e77ad275bfb7fa605cb4b2b841cf8e8c68 /test/ngAnimate | |
| parent | eff52ad877c60d85cca5331f317d34eff7f9f43c (diff) | |
| download | angular.js-50bf029625d603fc652f0f413e709f43803743db.tar.bz2 | |
fix(animate): remove trailing `s`
Diffstat (limited to 'test/ngAnimate')
| -rw-r--r-- | test/ngAnimate/animateSpec.js | 1 |
1 files changed, 1 insertions, 0 deletions
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/); |
