[KListWithOverflow]: Add unit tests #833
Labels
Component: KListWithOverflow
help wanted
Open source contributors welcome
P2 - normal
Priority: Nice to have
size: medium
TAG: unit tests
🌱 Are you new to the codebase? Welcome! Please see the contributing guidelines.
Product
KDS.
Desired behavior
We should add unit tests to KListWithOverflow, since it has some complicated calculations and needs to be protected from regressions. So we need to test at least the following things:
more
slot if the list items fits in the available space.more
slot if there are overflowed items.overflowItems
array passed to themore
slot.Current behavior
We currently dont have unit tests for KListWithOverflow.
The text was updated successfully, but these errors were encountered: