Skip to content

Commit

Permalink
test: await next render before assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
ugur-vaadin committed Mar 18, 2024
1 parent 4cebfe3 commit d5939d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/grid-pro/test/edit-column-type.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ describe('edit column editor type', () => {
await sendKeys({ down: 'a' });
await sendKeys({ down: 'b' });
await sendKeys({ down: 'Enter' });
await nextRender();
expect(cell._content.textContent).to.equal('ab');
});
});
Expand Down

0 comments on commit d5939d1

Please sign in to comment.