Skip to content

Commit 5bd009f

Browse files
khiga8Copilot
andauthored
Update test/relative-time.js
Co-authored-by: Copilot <[email protected]>
1 parent 5f916b6 commit 5bd009f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/relative-time.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1902,7 +1902,7 @@ suite('relative-time', function () {
19021902
time.setAttribute('datetime', now)
19031903
await Promise.resolve()
19041904

1905-
assert.isNull(time.querySelector('[aria-hidden]'), 'Expected no aria-hidden to be present')
1905+
assert.isNull(time.shadowRoot.querySelector('[aria-hidden]'), 'Expected no aria-hidden to be present')
19061906
assert.isNull(time.querySelector('span'), 'Expected no span to be present')
19071907
})
19081908
})

0 commit comments

Comments
 (0)