fix(replace): require correct dependency modules
This commit is contained in:
parent
9582a68faf
commit
85f50ff907
|
@ -1,4 +1,8 @@
|
|||
module.exports = {
|
||||
__depends__: [
|
||||
require('diagram-js/lib/features/popup-menu'),
|
||||
require('../replace')
|
||||
],
|
||||
__init__: [ 'replaceMenuProvider' ],
|
||||
replaceMenuProvider: [ 'type', require('./ReplaceMenuProvider') ]
|
||||
};
|
|
@ -1,6 +1,5 @@
|
|||
module.exports = {
|
||||
__depends__: [
|
||||
require('diagram-js/lib/features/popup-menu'),
|
||||
require('diagram-js/lib/features/replace'),
|
||||
require('diagram-js/lib/features/selection')
|
||||
],
|
||||
|
|
|
@ -7,9 +7,7 @@ var TestHelper = require('../../../TestHelper');
|
|||
var globalEvent = require('../../../util/MockEvents.js').createEvent;
|
||||
|
||||
var coreModule = require('../../../../lib/core'),
|
||||
popupMenuModule = require('diagram-js/lib/features/popup-menu'),
|
||||
modelingModule = require('../../../../lib/features/modeling'),
|
||||
replaceModule = require('../../../../lib/features/replace'),
|
||||
replaceMenuProviderModule = require('../../../../lib/features/popup-menu'),
|
||||
customRulesModule = require('../../../util/custom-rules');
|
||||
|
||||
|
@ -60,8 +58,6 @@ describe('features/popup-menu - replace menu provider', function() {
|
|||
var testModules = [
|
||||
coreModule,
|
||||
modelingModule,
|
||||
popupMenuModule,
|
||||
replaceModule,
|
||||
replaceMenuProviderModule,
|
||||
customRulesModule
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue