diff --git a/src/components/_classes/nesteddata/NestedDataComponent.unit.js b/src/components/_classes/nesteddata/NestedDataComponent.unit.js index 77c92e6dda..53d7f4e90b 100644 --- a/src/components/_classes/nesteddata/NestedDataComponent.unit.js +++ b/src/components/_classes/nesteddata/NestedDataComponent.unit.js @@ -7,7 +7,7 @@ import nestedDataCompWithModalPreview from '../../../../test/forms/nestedDataWit let component = null; describe('NestedDataComponent class', () => { - it('Should create a new NestedDataComponent class', (done) => { + it('Should create a new NestedDataComponent class', () => { return Harness.testCreate(NestedDataComponent, { // key: 'nested', components: [ @@ -28,7 +28,7 @@ describe('NestedDataComponent class', () => { Harness.testElements(component, 'input[name="data[lastName]"]', 1); }); }); - it('Should show preview of the modal view component properly', () => { + it('Should show preview of the modal view component properly', (done) => { Formio.createForm(document.createElement('div'), nestedDataCompWithModalPreview) .then((form) => { const openModalBtn = form.element.querySelector('.open-modal-button'); diff --git a/test/forms/nestedDataWithModalViewAndLayoutComponents b/test/forms/nestedDataWithModalViewAndLayoutComponents.json similarity index 99% rename from test/forms/nestedDataWithModalViewAndLayoutComponents rename to test/forms/nestedDataWithModalViewAndLayoutComponents.json index 565257984c..14064bda51 100644 --- a/test/forms/nestedDataWithModalViewAndLayoutComponents +++ b/test/forms/nestedDataWithModalViewAndLayoutComponents.json @@ -50,5 +50,5 @@ "input": true, "tableView": false } - ], + ] }