mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-17 20:41:32 +00:00
18c2b0552e
Support for Gateways and Task Types was added. See #130
37 lines
920 B
JavaScript
37 lines
920 B
JavaScript
'use strict';
|
|
|
|
var Matchers = require('../../../Matchers'),
|
|
TestHelper = require('../../../TestHelper');
|
|
|
|
/* global bootstrapViewer, inject */
|
|
|
|
|
|
var fs = require('fs');
|
|
|
|
var contextPadModule = require('../../../../lib/features/context-pad'),
|
|
bpmnModule = require('../../../../lib/core'),
|
|
popupModule = require('diagram-js/lib/features/popup-menu'),
|
|
replaceModule = require('diagram-js/lib/features/replace');
|
|
|
|
|
|
describe('features - context-pad', function() {
|
|
|
|
beforeEach(Matchers.addDeepEquals);
|
|
|
|
|
|
var diagramXML = fs.readFileSync('test/fixtures/bpmn/simple.bpmn', 'utf8');
|
|
|
|
var testModules = [ contextPadModule, bpmnModule, popupModule, replaceModule ];
|
|
|
|
beforeEach(bootstrapViewer(diagramXML, { modules: testModules }));
|
|
|
|
|
|
describe('bootstrap', function() {
|
|
|
|
it('should bootstrap', inject(function(contextPadProvider) {
|
|
expect(contextPadProvider).toBeDefined();
|
|
}));
|
|
|
|
});
|
|
});
|