summaryrefslogtreecommitdiffstats
path: root/spec/helpers.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-11-18 19:13:28 +0100
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-11-28 13:47:39 +0100
commitb5bd292b7d042690336e08dcd423894449c36c66 (patch)
tree57e262db049c4505a32c56fd7516b087ee8d4cf3 /spec/helpers.js
parent57d7dd0232b283874f09bb08e6d05ccfc6d1da24 (diff)
downloadsvg.js-b5bd292b7d042690336e08dcd423894449c36c66.tar.gz
svg.js-b5bd292b7d042690336e08dcd423894449c36c66.zip
add tests for all exports of adopter
Diffstat (limited to 'spec/helpers.js')
-rw-r--r--spec/helpers.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/helpers.js b/spec/helpers.js
index 23f92bb..a584b6a 100644
--- a/spec/helpers.js
+++ b/spec/helpers.js
@@ -152,8 +152,9 @@ export function buildCanvas () {
export function clear () {
let doc = getWindow().document
let canvas = doc.getElementById('canvas')
- //let fixtures = doc.getElementById('fixtures')
+ let fixtures = doc.getElementById('fixtures')
- //fixtures.parentNode.removeChild(fixtures)
+ // remove if present
+ fixtures && fixtures.parentNode.removeChild(fixtures)
canvas.parentNode.removeChild(canvas)
}