Skip to content

Commit

Permalink
test: fix grid-pro tests (#260) (#261)
Browse files Browse the repository at this point in the history
Co-authored-by: Tomi Virkki <[email protected]>
  • Loading branch information
vaadin-bot and tomivirkki authored Oct 8, 2024
1 parent 8caae20 commit ef2a1fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Grid.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,8 @@ describe('Grid', () => {
element.dispatchEvent(new MouseEvent('dblclick', { bubbles: true }));
}

function focusOut(element: Element) {
element.dispatchEvent(new FocusEvent('focusout', { bubbles: true }));
function focusOut(element: HTMLElement) {
element.blur();
}

beforeEach(() => {
Expand Down

0 comments on commit ef2a1fe

Please sign in to comment.