Angular Angular2 Testing Unit Testing Angular Unit Test Input Value April 28, 2018 Post a Comment Answer : Inputs don't have textContent, only a value. So expect(field.textContent).toBe('… Read more Angular Unit Test Input Value