Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandraRamanenka committed Apr 9, 2024
1 parent 77d7e75 commit 61bf725
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@
"input": true,
"tableView": false
}
],
]
}

0 comments on commit 61bf725

Please sign in to comment.