18 lines
629 B
JavaScript
18 lines
629 B
JavaScript
'use strict';
|
|
|
|
var TestHelper = module.exports = require('./helper');
|
|
|
|
TestHelper.insertCSS('diagram-js.css', require('diagram-js/assets/diagram-js.css'));
|
|
|
|
TestHelper.insertCSS('bpmn-embedded.css', require('../assets/bpmn-font/css/bpmn-embedded.css'));
|
|
|
|
TestHelper.insertCSS('diagram-js-testing.css',
|
|
'.test-container .result { height: 500px; }' + '.test-container { height: 1000px !important }'
|
|
);
|
|
|
|
|
|
// add suite specific matchers
|
|
global.chai.use(require('diagram-js/test/matchers/BoundsMatchers'));
|
|
global.chai.use(require('diagram-js/test/matchers/ConnectionMatchers'));
|
|
global.chai.use(require('./matchers/JSONMatcher'));
|