diff options
author | Adriel Santiago <adriel@gitlab.com> | 2018-08-24 16:15:28 -0400 |
---|---|---|
committer | Adriel Santiago <adriel@gitlab.com> | 2018-08-24 16:15:28 -0400 |
commit | 95556c16899a37ab4505e0b3e09d9ade0128ab08 (patch) | |
tree | 58b7c41edfb07ad635768b274230ef897240d443 /spec/javascripts/flash_spec.js | |
parent | 452fd703f322370e6bf12a4f243e258db7e278f5 (diff) | |
download | gitlab-ce-95556c16899a37ab4505e0b3e09d9ade0128ab08.tar.gz |
correct transtition style test to allow chrome v68 compatibility
Diffstat (limited to 'spec/javascripts/flash_spec.js')
-rw-r--r-- | spec/javascripts/flash_spec.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/spec/javascripts/flash_spec.js b/spec/javascripts/flash_spec.js index 7198dbd4cf2..0a8e5a628c0 100644 --- a/spec/javascripts/flash_spec.js +++ b/spec/javascripts/flash_spec.js @@ -57,8 +57,11 @@ describe('Flash', () => { hideFlash(el); expect( - el.style.transition, - ).toBe('opacity 0.3s'); + el.style['transition-property'], + ).toBe('opacity'); + expect( + el.style['transition-duration'], + ).toBe('0.3s'); }); it('sets opacity style', () => { |