Skip to content

Commit

Permalink
test: remove deprecated keyboard.bindTo
Browse files Browse the repository at this point in the history
  • Loading branch information
misiekhardcore committed Nov 14, 2024
1 parent 2c91cbe commit ce040b7
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions test/spec/BpmnPropertiesPanelRenderer.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,13 +249,7 @@ describe('<BpmnPropertiesPanelRenderer>', function() {
it('should bind', async function() {
const diagramXml = require('test/fixtures/simple.bpmn').default;

const keyboardTarget = document.createElement('div');

const { modeler } = await createModeler(diagramXml, {
keyboard: {
bindTo: keyboardTarget
}
});
const { modeler } = await createModeler(diagramXml);

modeler.invoke(function(eventBus, elementRegistry, modeling) {

Expand Down Expand Up @@ -295,11 +289,7 @@ describe('<BpmnPropertiesPanelRenderer>', function() {
it('should NOT bind with keyboard binding deactivated', async function() {
const diagramXml = require('test/fixtures/simple.bpmn').default;

const { modeler } = await createModeler(diagramXml, {
keyboard: {
bind: false
}
});
const { modeler } = await createModeler(diagramXml);

modeler.invoke(function(eventBus, elementRegistry, modeling) {

Expand Down

0 comments on commit ce040b7

Please sign in to comment.