ic-ui-kit icon indicating copy to clipboard operation
ic-ui-kit copied to clipboard

[ic-data-table]: Additional unit tests

Open jd239 opened this issue 1 year ago โ€ข 1 comments

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.

jd239 avatar Aug 14 '24 08:08 jd239

code coverage is very low at present (<40%)

ad9242 avatar May 13 '25 07:05 ad9242