test: add /@:acct
stories (#10517)
* test: add `/@:acct` stories * test: add mocks
This commit is contained in:
parent
59d0d507d5
commit
2b19e1f732
3 changed files with 76 additions and 0 deletions
|
@ -77,6 +77,7 @@ export function userDetailed(id = 'someuserid', username = 'miskist', host = 'mi
|
|||
createdAt: '2016-12-28T22:49:51.000Z',
|
||||
description: 'I am a cool user!',
|
||||
ffVisibility: 'public',
|
||||
roles: [],
|
||||
fields: [
|
||||
{
|
||||
name: 'Website',
|
||||
|
|
|
@ -398,6 +398,7 @@ function toStories(component: string): string {
|
|||
Promise.all([
|
||||
glob('src/components/global/*.vue'),
|
||||
glob('src/components/MkGalleryPostPreview.vue'),
|
||||
glob('src/pages/user/home.vue'),
|
||||
])
|
||||
.then((globs) => globs.flat())
|
||||
.then((components) => Promise.all(components.map((component) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue