Misprint in code example
davayd opened this issue · 1 comments
davayd commented
I found a little mistake in a code example (https://testing-angular.com/testing-components/#querying-the-dom-with-test-ids)
// Find all elements with the class .user
const userElements = debugElement.query(By.css('.user'));
We need to use queryAll
instead of just query
molily commented
Thank you very much!