summaryrefslogtreecommitdiffstats
path: root/spec/runSVGDomTest.js
blob: 3f2276ec2cd053fcb2944fecfd3529421c5053b8 (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()