Skip to content

Commit

Permalink
fix testcafe
Browse files Browse the repository at this point in the history
  • Loading branch information
pomahtri committed Oct 16, 2023
1 parent 40fabf3 commit 30aa4b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ safeSizeTest('The master detail row should display correctly when renderAsync, v
dataGrid._getTemplate = () => ({
render(options) {
setTimeout(() => {
if ($(options.container).closest(document).length) {
if ($(options.container).closest(document as any).length) {
$(options.container).append($('<div/>').html(`
<p>${options.model.data.id}</p>
<p>${options.model.data.text}</p>
Expand Down

0 comments on commit 30aa4b2

Please sign in to comment.