1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-30 01:44:30 +02:00

fix(frontend): fix Storybook type errors (#13779)

* fix(frontend): fix Storybook type errors

* fix: `hasReduce` doesn't work in args
This commit is contained in:
zyoshoka
2024-05-01 16:39:16 +09:00
committed by GitHub
parent d2a5bb39e3
commit 9c057e6854
17 changed files with 952 additions and 732 deletions

View File

@@ -30,7 +30,7 @@ export const Default = {
};
},
async play({ canvasElement }) {
await expect(canvasElement).toHaveTextContent(userDetailed().name);
await expect(canvasElement).toHaveTextContent(userDetailed().name as string);
},
args: {
user: userDetailed(),