chore: Added e2e snapshot tests

This commit is contained in:
Alexander Sage
2019-07-23 21:07:01 -07:00
parent 8b05eeaa59
commit 5c25c5563a
10 changed files with 122 additions and 11 deletions

View File

@@ -1,6 +1,5 @@
export const drawRect = function (elem, rectData) {
const rectElem = elem.append('rect')
rectElem.attr('x', rectData.x)
rectElem.attr('y', rectData.y)
rectElem.attr('fill', rectData.fill)