From a642104565e6c530eb7fbffab0ba287781288ea3 Mon Sep 17 00:00:00 2001 From: alexandraRamanenka Date: Mon, 8 Apr 2024 17:00:35 +0300 Subject: [PATCH] Fixed tests --- .../_classes/nesteddata/NestedDataComponent.unit.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/_classes/nesteddata/NestedDataComponent.unit.js b/src/components/_classes/nesteddata/NestedDataComponent.unit.js index 77c92e6ddae..53d7f4e90bf 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');