Skip to content

Commit 4cb9621

Browse files
committed
fix: adjust test
1 parent f359e21 commit 4cb9621

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/context.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ describe('context', function() {
9393
}
9494

9595
function getContentResults(selector: string) {
96-
return [...document.querySelector('context-tests').shadowRoot.querySelectorAll(selector)].map((consumer) => (consumer).shadowRoot.textContent);
96+
return [...document.querySelector('context-tests').shadowRoot.querySelectorAll(selector)].map((consumer) => (consumer).textContent);
9797
}
9898

9999
beforeEach(async () => {

0 commit comments

Comments
 (0)