forked from cybrespace/pinafore
lint fix
This commit is contained in:
parent
a73e4b13c4
commit
4d88723cb4
|
@ -58,4 +58,4 @@ export const quuxStatuses = [
|
||||||
{content: 'pinned toot 1'}
|
{content: 'pinned toot 1'}
|
||||||
].concat(times(25, i => ({content: `unlisted thread ${25 - i}`})))
|
].concat(times(25, i => ({content: `unlisted thread ${25 - i}`})))
|
||||||
|
|
||||||
export const quuxThread = times(25, i => ({content: `unlisted thread ${i + 1}`}))
|
export const quuxThread = times(25, i => ({content: `unlisted thread ${i + 1}`}))
|
||||||
|
|
|
@ -40,4 +40,4 @@ test('click and close image and video modals', async t => {
|
||||||
.expect(modalDialogContents.exists).ok()
|
.expect(modalDialogContents.exists).ok()
|
||||||
.click(closeDialogButton)
|
.click(closeDialogButton)
|
||||||
.expect(modalDialogContents.exists).notOk()
|
.expect(modalDialogContents.exists).notOk()
|
||||||
})
|
})
|
||||||
|
|
|
@ -34,4 +34,4 @@ test('Scrolls to proper point in thread', async t => {
|
||||||
.expect(getNthStatus(16).innerText).contains('unlisted thread 17')
|
.expect(getNthStatus(16).innerText).contains('unlisted thread 17')
|
||||||
.expect(Math.round(getNthStatus(16).boundingClientRect.top))
|
.expect(Math.round(getNthStatus(16).boundingClientRect.top))
|
||||||
.eql(Math.round($('.container').boundingClientRect.top))
|
.eql(Math.round($('.container').boundingClientRect.top))
|
||||||
})
|
})
|
||||||
|
|
|
@ -57,4 +57,4 @@ export async function scrollToBottomOfTimeline (t) {
|
||||||
}
|
}
|
||||||
lastSize = newSize
|
lastSize = newSize
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue