Question · JavaScript and TypeScript course · Module 11: Testing with Jest
The toContain Matcher
Which matcher checks if an array contains a specific element?
Answer options
- toFind
- toInclude
- toContain
- toHave
You can check the correct answer by solving this task in the CodeWorlds game.