Skip to content

Commit

Permalink
test: test fix
Browse files Browse the repository at this point in the history
test fix
  • Loading branch information
gowtham-balaganesh committed Sep 27, 2024
1 parent 6461f1c commit 6c8fce5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ describe('updateChoicesInFields', () => {
expect(updatedField.fields[0].choices).toEqual([{ id: 'newChoice' }]);
});

it('updates the parent field when parentId exists', () => {
it.only('updates the parent field when parentId exists', () => {
// Mock data setup
event.detail.parentId = 'parentChoice';
event.detail.level = 2;
Expand All @@ -448,6 +448,7 @@ describe('updateChoicesInFields', () => {
},
],
id: 'field1',
fields: [{ level: '2', choices: [], id: 'field2' }],
},
];

Expand Down

0 comments on commit 6c8fce5

Please sign in to comment.