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',
|
|
|
|
'.test-container .result { height: 500px; }' + '.test-container > div'
|
2015-07-15 15:22:19 +00:00
|
|
|
);
|
2015-09-02 12:15:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
// add suite specific matchers
|
2016-06-08 10:03:48 +00:00
|
|
|
global.chai.use(require('diagram-js/test/matchers/BoundsMatchers'));
|
|
|
|
global.chai.use(require('diagram-js/test/matchers/ConnectionMatchers'));
|