Fix to feeds view in profiles (#1171)

* Fix load of feeds tab

* Add e2e test for profile feeds
This commit is contained in:
Paul Frazee 2023-08-15 09:59:49 -07:00 committed by GitHub
parent a3af2a2b85
commit f4891a47a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 46 additions and 17 deletions

View file

@ -53,6 +53,10 @@ async function main() {
await server.mocker.users[user].agent.post({text: 'Post'})
}
}
if ('feeds' in url.query) {
console.log('Generating mock feed')
await server.mocker.createFeed('alice')
}
if ('thread' in url.query) {
console.log('Generating mock posts')
const res = await server.mocker.users.bob.agent.post({