Skip to content

Commit 23bb3ff

Browse files
committed
test: fix
1 parent 9e2b56c commit 23bb3ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/components/src/table/table.component.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ describe('Table component', () => {
486486
expect(spectator.component.shouldHighlightRowAsSelection(statefulRows[1])).toBeFalsy();
487487
});
488488

489-
test('row should not be highlighted only in multi selection mode', () => {
489+
test('row should be highlighted (even) when in multi selection mode', () => {
490490
const columns = buildColumns();
491491
const rows = buildData();
492492
const statefulRows = TableCdkRowUtil.buildInitialRowStates(rows);
@@ -504,7 +504,7 @@ describe('Table component', () => {
504504
}
505505
);
506506

507-
expect(spectator.component.shouldHighlightRowAsSelection(statefulRows[0])).toBeFalsy();
507+
expect(spectator.component.shouldHighlightRowAsSelection(statefulRows[0])).toBeTruthy();
508508
expect(spectator.component.shouldHighlightRowAsSelection(statefulRows[1])).toBeFalsy();
509509
});
510510

0 commit comments

Comments
 (0)