Author: Thomas Laforge
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.
The goal is to test the functionality of child.component.ts
. I have prepared a test suite that you need to implement, but feel free to include additional tests as well.
Note: You are welcome to use Testing Library if you wish.
Documentation for CDK Component Harness is here Documentation for Angular Material component is here
- Fork the project
- clone it
- npm ci
npx nx serve testing-harness
to play with the applicationnpx nx test testing-harness
to test your application with Testing Library- ...work on it
- Commit your work
- Submit a PR with a title beginning with Answer:23 that I will review and other dev can review.