Skip to content
angular challenges logoAngular Challenges

๐ŸŸข Harness

A component harness is a class that lets a test interact with a component via a supported API.

The objective of this challenge is to have a better understanding of the CDK test harness API. In this initial challenge, we will only use Angular Materialโ€™s built-in harnesses.

Documentation for CDK Component Harness is here. Documentation for Angular Material component is here.

Test the functionality of child.component.ts, which consists of some inputs & checkboxes related to a mat-slider. Implement the prepared test suite, but feel free to include additional tests as well.

Note: You are welcome to use Angular Testing Library if you wish.