mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-11 05:13:02 -05:00
Test of a simple checkbox
Author: Thomas Laforge
Information
This is the perfect example to get started with Testing Library.
You will need to only check if the button gets enabled when clicking on the checkbox
You can look into debug function to get full power of Testing Library like:
- logRoles(...);
- screen.debug(); // you can pass a element as input
- screen.logTestingPlaygroundURL(); // you can pass a element as input
Submitting your work
- Fork the project
- clone it
- npm ci
npx nx serve testing-checkbox- ...work on it
- Commit your work
- Submit a PR with a title beginning with Answer:28 that I will review and other dev can review.