This commit is contained in:
Nolan Lawson 2018-02-20 21:30:16 -08:00
parent a73e4b13c4
commit 4d88723cb4
4 changed files with 4 additions and 4 deletions

View file

@ -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}`}))

View file

@ -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()
}) })

View file

@ -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))
}) })

View file

@ -57,4 +57,4 @@ export async function scrollToBottomOfTimeline (t) {
} }
lastSize = newSize lastSize = newSize
} }
} }