From 2ee888668d7173ce25d5761b8b89217dc034ffcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Wed, 27 Nov 2024 12:17:50 +0100 Subject: [PATCH] fix test --- packages/uui-table/lib/uui-table-row.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/uui-table/lib/uui-table-row.test.ts b/packages/uui-table/lib/uui-table-row.test.ts index 856dd8e13..55382f915 100644 --- a/packages/uui-table/lib/uui-table-row.test.ts +++ b/packages/uui-table/lib/uui-table-row.test.ts @@ -6,7 +6,7 @@ import { oneEvent, } from '@open-wc/testing'; -import './uui-table.element'; +import '.'; import { UUITableRowElement } from './uui-table-row.element'; describe('UuiTableRow', () => { @@ -51,7 +51,7 @@ describe('UuiTableRow', () => { it('emits a selected event when selectable', async () => { element.selectable = true; await elementUpdated(element); - const listener = oneEvent(element, 'selected', false); + const listener = oneEvent(element, 'selected'); element.click(); const event = await listener; expect(event).to.exist;