Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandraRamanenka committed Apr 8, 2024
1 parent 77d7e75 commit a642104
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand All @@ -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');
Expand Down

0 comments on commit a642104

Please sign in to comment.