bismarck/test/index.coffee

18 lines
388 B
CoffeeScript
Raw Permalink Normal View History

2014-10-26 20:19:17 +00:00
beforeEach ->
jasmine.addMatchers {
toContainSVG: ->
compare: (svg, select) ->
result = { pass: svg.select(select)? }
result.message = if !result.pass
"Expect #{svg.outerSVG()} to contain #{select}"
result
}
require('./bismarckSpec')
require('./bismarck/animateSpec')
require('./bismarck/drawableSpec')
require('./bismarck/layoutSpec')