correct transtition style test to allow chrome v68 compatibility
This commit is contained in:
parent
452fd703f3
commit
95556c1689
|
@ -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', () => {
|
||||||
|
|
Loading…
Reference in New Issue