2015-02-02 13:46:21 +00:00
|
|
|
'use strict';
|
|
|
|
|
2014-08-25 09:02:49 +00:00
|
|
|
var TestHelper = module.exports = require('./helper');
|
2014-08-12 09:53:00 +00:00
|
|
|
|
2015-03-31 12:17:15 +00:00
|
|
|
TestHelper.insertCSS('diagram-js.css', require('diagram-js/assets/diagram-js.css'));
|
2015-07-15 15:22:19 +00:00
|
|
|
|
2015-03-31 12:17:15 +00:00
|
|
|
TestHelper.insertCSS('bpmn-embedded.css', require('../assets/bpmn-font/css/bpmn-embedded.css'));
|
2014-11-20 11:55:15 +00:00
|
|
|
|
|
|
|
TestHelper.insertCSS('diagram-js-testing.css',
|
2017-06-27 07:37:58 +00:00
|
|
|
'.test-container .result { height: 500px; }' + '.test-container { height: 1000px !important }'
|
2015-07-15 15:22:19 +00:00
|
|
|
);
|
2015-09-02 12:15:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
// add suite specific matchers
|
2017-09-29 09:08:20 +00:00
|
|
|
global.chai.use(require('chai-match'));
|
2017-10-11 13:19:36 +00:00
|
|
|
global.chai.use(require('./matchers/BoundsMatchers'));
|
|
|
|
global.chai.use(require('./matchers/ConnectionMatchers'));
|
2017-01-19 15:16:56 +00:00
|
|
|
global.chai.use(require('./matchers/JSONMatcher'));
|