跳转到内容
angular challenges logo Angular Challenges

🟢 Harness

挑战 #23

此内容尚不支持你的语言。

创建者 Thomas Laforge

Information

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.

Statement

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.

贡献者

感谢所有帮助本文档变得更好的贡献者!

  • tomalaforge
  • tomer953
  • svenson95
  • jdegand
  • LMFinney