Files
angular-challenges/docs/src/content/docs/challenges/testing/28-checkbox.md
2023-09-24 22:48:08 +02:00

1.0 KiB

title, description
title description
🟢 Checkbox Challenge 28 is about testing a simple checkbox

:::note WIP :::

Challenge #28

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

:::note Start the project by running: npx nx serve testing-checkbox. :::

:::tip[Reminder] Your PR title must start with Answer:28. :::