Commit 483a5eef authored by Kushal Pandya's avatar Kushal Pandya

Fix `transform` typo

parent fabf6a56
...@@ -126,7 +126,7 @@ export default { ...@@ -126,7 +126,7 @@ export default {
:cx="dotX" :cx="dotX"
:cy="dotY" :cy="dotY"
r="1.5" r="1.5"
tranform="translate(0 -1)" transform="translate(0 -1)"
/> />
</svg> </svg>
</div> </div>
......
...@@ -113,7 +113,7 @@ describe('MemoryGraph', () => { ...@@ -113,7 +113,7 @@ describe('MemoryGraph', () => {
const circleEl = el.querySelector('circle'); const circleEl = el.querySelector('circle');
expect(circleEl).toBeDefined(); expect(circleEl).toBeDefined();
expect(circleEl.getAttribute('r')).toBe('1.5'); 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('cx')).toBe(`${dotX}`);
expect(circleEl.getAttribute('cy')).toBe(`${dotY}`); expect(circleEl.getAttribute('cy')).toBe(`${dotY}`);
done(); 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