2018-04-02 21:01:53 +02:00
|
|
|
export * from './helper';
|
2014-08-12 11:53:00 +02:00
|
|
|
|
2018-04-02 21:01:53 +02:00
|
|
|
import {
|
|
|
|
insertCSS
|
|
|
|
} from './helper';
|
2015-07-15 17:22:19 +02:00
|
|
|
|
2018-04-02 21:01:53 +02:00
|
|
|
insertCSS('diagram-js.css', require('diagram-js/assets/diagram-js.css'));
|
2014-11-20 12:55:15 +01:00
|
|
|
|
2018-04-02 21:01:53 +02:00
|
|
|
insertCSS('bpmn-embedded.css', require('bpmn-font/dist/css/bpmn-embedded.css'));
|
|
|
|
|
|
|
|
insertCSS('diagram-js-testing.css',
|
2017-12-11 21:26:22 +01:00
|
|
|
'body .test-container { height: auto }' +
|
2018-07-09 12:30:45 +02:00
|
|
|
'body .test-container .test-content-container { height: 90vmin; }'
|
2015-07-15 17:22:19 +02:00
|
|
|
);
|
2015-09-02 14:15:45 +02:00
|
|
|
|
|
|
|
|
2018-04-02 21:01:53 +02:00
|
|
|
import ChaiMatch from 'chai-match';
|
|
|
|
import BoundsMatchers from './matchers/BoundsMatchers';
|
|
|
|
import ConnectionMatchers from './matchers/ConnectionMatchers';
|
|
|
|
import JSONMatcher from './matchers/JSONMatcher';
|
|
|
|
|
|
|
|
/* global chai */
|
|
|
|
|
2015-09-02 14:15:45 +02:00
|
|
|
// add suite specific matchers
|
2018-04-02 21:01:53 +02:00
|
|
|
chai.use(ChaiMatch);
|
|
|
|
chai.use(BoundsMatchers);
|
|
|
|
chai.use(ConnectionMatchers);
|
|
|
|
chai.use(JSONMatcher);
|