From 1b8d8bd2e76bba39dcb62b79f90f67ef23483866 Mon Sep 17 00:00:00 2001 From: Maciej Barelkowski Date: Fri, 15 Nov 2024 14:04:02 +0100 Subject: [PATCH] test: remove legacy config --- .../test/spec/FormEditor.spec.js | 21 ------------------- .../form-js-viewer/test/spec/Form.spec.js | 5 +---- 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/packages/form-js-editor/test/spec/FormEditor.spec.js b/packages/form-js-editor/test/spec/FormEditor.spec.js index 571e892a2..620fa01f2 100644 --- a/packages/form-js-editor/test/spec/FormEditor.spec.js +++ b/packages/form-js-editor/test/spec/FormEditor.spec.js @@ -52,9 +52,6 @@ describe('FormEditor', function () { await bootstrapFormEditor({ container, schema, - keyboard: { - bindTo: document, - }, }); formEditor.on('changed', (event) => { @@ -70,9 +67,6 @@ describe('FormEditor', function () { await bootstrapFormEditor({ container, schema: schemaRows, - keyboard: { - bindTo: document, - }, debugColumns: true, }); @@ -93,9 +87,6 @@ describe('FormEditor', function () { await bootstrapFormEditor({ container, schema, - keyboard: { - bindTo: document, - }, }); // then @@ -111,9 +102,6 @@ describe('FormEditor', function () { await bootstrapFormEditor({ container, schema, - keyboard: { - bindTo: document, - }, }); // when @@ -132,9 +120,6 @@ describe('FormEditor', function () { renderer: { compact: true, }, - keyboard: { - bindTo: document, - }, }); // then @@ -153,9 +138,6 @@ describe('FormEditor', function () { type: 'default', }, debounce: true, - keyboard: { - bindTo: document, - }, }); // then @@ -181,9 +163,6 @@ describe('FormEditor', function () { ], }, debounce: true, - keyboard: { - bindTo: document, - }, }); // then diff --git a/packages/form-js-viewer/test/spec/Form.spec.js b/packages/form-js-viewer/test/spec/Form.spec.js index a6592b1c8..3f1120e04 100644 --- a/packages/form-js-viewer/test/spec/Form.spec.js +++ b/packages/form-js-viewer/test/spec/Form.spec.js @@ -207,10 +207,7 @@ describe('Form', function () { await bootstrapForm({ container, - schema, - keyboard: { - bindTo: document, - }, + schema }); // when