Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
nielslyngsoe committed Nov 27, 2024
1 parent 94e8210 commit 2ee8886
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/uui-table/lib/uui-table-row.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
oneEvent,
} from '@open-wc/testing';

import './uui-table.element';
import '.';
import { UUITableRowElement } from './uui-table-row.element';

describe('UuiTableRow', () => {
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 2ee8886

Please sign in to comment.