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