blob: 57055f475fb9e96ed51a02ebccd26b6c25254bd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/*
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",
"spec/elements/*.js"
],
"helpers": [
"setupSVGDom.js"
]
})
jasmine.execute()
|