Skip to content

Commit 05a3e8b

Browse files
committed
fix lint
1 parent a3ffb11 commit 05a3e8b

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
@@ -59,6 +59,7 @@ suite('relative-time', function () {
5959
})
6060

6161
test('updates the time automatically when it is a few seconds ago', async function () {
62+
// eslint-disable-next-line @typescript-eslint/no-invalid-this
6263
this.timeout(3000)
6364
const el = document.createElement('relative-time')
6465
el.setAttribute('datetime', new Date(Date.now() + 25000).toISOString())
@@ -67,7 +68,6 @@ suite('relative-time', function () {
6768
await new Promise(resolve => setTimeout(resolve, 2000))
6869
const nextDisplay = el.shadowRoot.textContent || el.textContent
6970
assert.match(nextDisplay, /in \d+ seconds/)
70-
console.log(nextDisplay, display)
7171
assert.notEqual(nextDisplay, display)
7272
})
7373

0 commit comments

Comments
 (0)