Add test ids and classes (#633)

* data test ids and classes

* suggest
This commit is contained in:
Colin Megill
2019-03-07 16:01:41 -05:00
committed by Charlotte Weaver
parent a0f54b4871
commit 8795f0f32c
6 changed files with 24 additions and 3 deletions

View File

@@ -14,6 +14,7 @@ const setupScatterplot = (width, height, margin) => {
.append("svg")
.attr("width", width + margin.left + margin.right)
.attr("height", height + margin.top + margin.bottom)
.attr("data-testid", "scatterplot-svg")
.append("g")
.attr("transform", `translate(${margin.left},${margin.top})`);