diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-11-28 15:26:03 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-11-28 15:26:03 +0100 |
commit | efc82b0eafa72902b35c2b22cd9e86bdbdd3edfb (patch) | |
tree | a13e7d67d34d9edff704cd0900a18785edb2f89f /spec/runSVGDomTest.js | |
parent | 1f301ad162964eb9079d1c22e3c7ed1c207c4f59 (diff) | |
download | svg.js-efc82b0eafa72902b35c2b22cd9e86bdbdd3edfb.tar.gz svg.js-efc82b0eafa72902b35c2b22cd9e86bdbdd3edfb.zip |
fix testing with svgdom
Diffstat (limited to 'spec/runSVGDomTest.js')
-rw-r--r-- | spec/runSVGDomTest.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/spec/runSVGDomTest.js b/spec/runSVGDomTest.js new file mode 100644 index 0000000..0db744d --- /dev/null +++ b/spec/runSVGDomTest.js @@ -0,0 +1,22 @@ +/* + This file has to be run with esm because node does not understand imports yet: + node -r esm ./spec/runSvgdomTest.js || true + + Without "|| true" node reports a super long error when a test fails + */ + +import Jasmine from 'jasmine' +const jasmine = new Jasmine() + +jasmine.loadConfig({ + "spec_dir": "spec/", + "spec_files": [ + "spec/types/*.js", + "spec/utils/*.js" + ], + "helpers": [ + "setupSVGDom.js" + ] +}) + +jasmine.execute() |