mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 21:03:03 -05:00
1.8 KiB
1.8 KiB
Testing with Angular CDK Harness
Author: Thomas Laforge
Statement:
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
Submitting your work
- Fork the project
- clone it
- npm install
npx nx serve testing-harnessto play with the applicationnpx nx test testing-harnessto 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.