Commit 95556c16 authored by Adriel Santiago's avatar Adriel Santiago

correct transtition style test to allow chrome v68 compatibility

parent 452fd703
...@@ -57,8 +57,11 @@ describe('Flash', () => { ...@@ -57,8 +57,11 @@ describe('Flash', () => {
hideFlash(el); hideFlash(el);
expect( expect(
el.style.transition, el.style['transition-property'],
).toBe('opacity 0.3s'); ).toBe('opacity');
expect(
el.style['transition-duration'],
).toBe('0.3s');
}); });
it('sets opacity style', () => { it('sets opacity style', () => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment