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

Commit 13f94b6

Browse files
Using textContent instead of innerText for testing matcher (#392)
1 parent d2e2fee commit 13f94b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/testing/browser/matchers.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ let skyMatchers: jasmine.CustomMatcherFactories = {
3333
message: ''
3434
};
3535

36-
let actualText = el.innerText;
36+
let actualText = el.textContent;
3737

3838
if (trimWhitespace) {
3939
actualText = actualText.trim();

0 commit comments

Comments
 (0)