Merge branch '50526-flash-hideflash-sets-transition-style-test-fails-on-master-in-local-environment' into 'master'
Resolve ""Flash hideFlash sets transition style" test fails on master in local environment" Closes #50526 See merge request gitlab-org/gitlab-ce!21376
This commit is contained in:
commit
b64ba567ff
|
@ -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