Commit c82adcce authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch '49291-fix-memory-graph-component-typo' into 'master'

Fix typo in CSS transform property for Memory Graph component

Closes #49291

See merge request gitlab-org/gitlab-ce!20650
parents 907dccdd 550152d8
......@@ -126,7 +126,7 @@ export default {
:cx="dotX"
:cy="dotY"
r="1.5"
tranform="translate(0 -1)"
transform="translate(0 -1)"
/>
</svg>
</div>
......
---
title: Fix typo in CSS transform property for Memory Graph component
merge_request: 20650
author:
type: fixed
......@@ -113,7 +113,7 @@ describe('MemoryGraph', () => {
const circleEl = el.querySelector('circle');
expect(circleEl).toBeDefined();
expect(circleEl.getAttribute('r')).toBe('1.5');
expect(circleEl.getAttribute('tranform')).toBe('translate(0 -1)');
expect(circleEl.getAttribute('transform')).toBe('translate(0 -1)');
expect(circleEl.getAttribute('cx')).toBe(`${dotX}`);
expect(circleEl.getAttribute('cy')).toBe(`${dotY}`);
done();
......
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