Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Using textContent instead of innerText for matcher #392

Merged
merged 1 commit into from
Apr 5, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion runtime/testing/browser/matchers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ let skyMatchers: jasmine.CustomMatcherFactories = {
message: ''
};

let actualText = el.innerText;
let actualText = el.textContent;

if (trimWhitespace) {
actualText = actualText.trim();
Expand Down