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
|
|
|
|
2015-03-31 14:17:15 +02:00
|
|
|
TestHelper.insertCSS('bpmn-embedded.css', require('../assets/bpmn-font/css/bpmn-embedded.css'));
|
2014-11-20 12:55:15 +01:00
|
|
|
|
|
|
|
TestHelper.insertCSS('diagram-js-testing.css',
|
2017-06-27 09:37:58 +02:00
|
|
|
'.test-container .result { height: 500px; }' + '.test-container { height: 1000px !important }'
|
2015-07-15 17:22:19 +02:00
|
|
|
);
|
2015-09-02 14:15:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
// add suite specific matchers
|
2016-06-08 12:03:48 +02:00
|
|
|
global.chai.use(require('diagram-js/test/matchers/BoundsMatchers'));
|
2017-01-19 16:16:56 +01:00
|
|
|
global.chai.use(require('diagram-js/test/matchers/ConnectionMatchers'));
|
|
|
|
global.chai.use(require('./matchers/JSONMatcher'));
|