mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-12 18:14:40 +00:00
92aac008b8
This ensures we run against npm v5: * bump wiredeps dependency version * rebuild .wiredeps * internalize test helpers from diagram-js
19 lines
641 B
JavaScript
19 lines
641 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('chai-match'));
|
|
global.chai.use(require('./matchers/BoundsMatchers'));
|
|
global.chai.use(require('./matchers/ConnectionMatchers'));
|
|
global.chai.use(require('./matchers/JSONMatcher'));
|