correct transtition style test to allow chrome v68 compatibility

This commit is contained in:
Adriel Santiago 2018-08-24 16:15:28 -04:00
parent 452fd703f3
commit 95556c1689
No known key found for this signature in database
GPG Key ID: 3728DA7C3CC3EE76
1 changed files with 5 additions and 2 deletions

View File

@ -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', () => {