Skip to content

Commit

Permalink
test: remove legacy config
Browse files Browse the repository at this point in the history
  • Loading branch information
barmac committed Nov 15, 2024
1 parent b4337ce commit 1b8d8bd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
21 changes: 0 additions & 21 deletions packages/form-js-editor/test/spec/FormEditor.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ describe('FormEditor', function () {
await bootstrapFormEditor({
container,
schema,
keyboard: {
bindTo: document,
},
});

formEditor.on('changed', (event) => {
Expand All @@ -70,9 +67,6 @@ describe('FormEditor', function () {
await bootstrapFormEditor({
container,
schema: schemaRows,
keyboard: {
bindTo: document,
},
debugColumns: true,
});

Expand All @@ -93,9 +87,6 @@ describe('FormEditor', function () {
await bootstrapFormEditor({
container,
schema,
keyboard: {
bindTo: document,
},
});

// then
Expand All @@ -111,9 +102,6 @@ describe('FormEditor', function () {
await bootstrapFormEditor({
container,
schema,
keyboard: {
bindTo: document,
},
});

// when
Expand All @@ -132,9 +120,6 @@ describe('FormEditor', function () {
renderer: {
compact: true,
},
keyboard: {
bindTo: document,
},
});

// then
Expand All @@ -153,9 +138,6 @@ describe('FormEditor', function () {
type: 'default',
},
debounce: true,
keyboard: {
bindTo: document,
},
});

// then
Expand All @@ -181,9 +163,6 @@ describe('FormEditor', function () {
],
},
debounce: true,
keyboard: {
bindTo: document,
},
});

// then
Expand Down
5 changes: 1 addition & 4 deletions packages/form-js-viewer/test/spec/Form.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,7 @@ describe('Form', function () {

await bootstrapForm({
container,
schema,
keyboard: {
bindTo: document,
},
schema

Check failure on line 210 in packages/form-js-viewer/test/spec/Form.spec.js

View workflow job for this annotation

GitHub Actions / Build (ubuntu-20.04, 20)

Insert `,`

Check failure on line 210 in packages/form-js-viewer/test/spec/Form.spec.js

View workflow job for this annotation

GitHub Actions / Build (macos-latest, 20)

Insert `,`
});

// when
Expand Down

0 comments on commit 1b8d8bd

Please sign in to comment.