test: add /@:acct stories (#10517)

* test: add `/@:acct` stories

* test: add mocks
This commit is contained in:
Acid Chicken (硫酸鶏) 2023-04-09 13:16:56 +09:00 committed by GitHub
parent 59d0d507d5
commit 2b19e1f732
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 76 additions and 0 deletions

View file

@ -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) => {