correct-offline-threads
Nolan Lawson 2018-03-08 18:37:32 -08:00
rodzic e3b6a9b758
commit cd8293925e
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

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

Wyświetl plik

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