[ic-data-table]: Additional unit tests
Summary
At the moment, there is an issue with running unit tests within the canary package (issue within importing core components). This means that most of the data table tests are built using Cypress. However, a branch within the core package has been made available with the latest Data Table functionality. This will allow new data table unit tests to be created, run and then moved into the canary package. This ticket is to go through that process and add more unit tests. The branch is run-data-table-spec-tests-in-core.
At the time of writing, unit tests are required for truncation (column width functionality may also be included if completed by then).
๐ฌ Description
See above
๐ฐ Use value
Describe why this is important and how it will help users (either developers, designers or the end-users). Think about how it makes people's lives easier, more accessible or quicker to build stuff.
๐ Acceptance Criteria
N/A
โ Designs
N/A
๐งพ Guidance
N/A
Additional info
If https://github.com/mi6/ic-ui-kit/issues/1005 is completed beforehand, please add those tests as well.
code coverage is very low at present (<40%)