2015-02-02 14:46:21 +01:00
|
|
|
'use strict';
|
|
|
|
|
2014-08-25 11:02:49 +02:00
|
|
|
var TestHelper = module.exports = require('./helper');
|
2014-08-12 11:53:00 +02:00
|
|
|
|
2015-03-31 14:17:15 +02:00
|
|
|
TestHelper.insertCSS('diagram-js.css', require('diagram-js/assets/diagram-js.css'));
|
2015-07-15 17:22:19 +02:00
|
|
|
|
2018-01-08 09:24:49 +01:00
|
|
|
TestHelper.insertCSS('bpmn-embedded.css', require('bpmn-font/dist/css/bpmn-embedded.css'));
|
2014-11-20 12:55:15 +01:00
|
|
|
|
|
|
|
TestHelper.insertCSS('diagram-js-testing.css',
|
2017-12-11 21:26:22 +01:00
|
|
|
'body .test-container { height: auto }' +
|
|
|
|
'body .test-container .test-content-container { height: 90vmin; }'
|
2015-07-15 17:22:19 +02:00
|
|
|
);
|
2015-09-02 14:15:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
// add suite specific matchers
|
2017-09-29 11:08:20 +02:00
|
|
|
global.chai.use(require('chai-match'));
|
2017-10-11 15:19:36 +02:00
|
|
|
global.chai.use(require('./matchers/BoundsMatchers'));
|
|
|
|
global.chai.use(require('./matchers/ConnectionMatchers'));
|
2017-01-19 16:16:56 +01:00
|
|
|
global.chai.use(require('./matchers/JSONMatcher'));
|