Commit b64ba567 authored by Clement Ho's avatar Clement Ho

Merge branch...

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
parents 5e389612 95556c16
......@@ -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', () => {
......
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