fix tests

This commit is contained in:
Nolan Lawson 2018-03-08 18:37:32 -08:00
parent e3b6a9b758
commit cd8293925e
2 changed files with 2 additions and 1 deletions

View file

@ -13,6 +13,7 @@ function unrollThread (user, prefix, privacy, thread) {
post: {
internalId: prefix + key,
text: key,
privacy: privacy,
inReplyTo: parentKey && (prefix + parentKey)
}
})

View file

@ -73,7 +73,7 @@ test('Forked threads look correct online and offline', async t => {
.hover(getFirstVisibleStatus())
await navigateToBazAccount(t)
await validateForkedThread(t)
await t.navigateTo('/')
await t.navigateTo('/') // clears in-memory cache while still preserving IDB cache
.hover(getFirstVisibleStatus())
await navigateToBazAccount(t)
await forceOffline()