Testing and types updates (#39657)

This commit is contained in:
Echo authored and GitHub committed 2026-06-29 14:26:22 +00:00
1 parent b2ebfa13a9
commit 00a8fbc43e
29 files changed
+263 -191

No files matched your search

@@ -1,6 +1,9 @@
import type { Meta, StoryObj } from '@storybook/react-vite';
import { accountFactoryState, relationshipsFactory } from '@/testing/factories';
import {
accountFactoryImmutable,
relationshipsFactoryAPI,
} from '@/testing/factories';
import { PendingBadge } from '../badge';
@@ -16,7 +19,7 @@ const meta = {
parameters: {
state: {
accounts: {
'1': accountFactoryState(),
'1': accountFactoryImmutable(),
},
},
},
@@ -32,7 +35,7 @@ export const FollowsYou: Story = {
parameters: {
state: {
relationships: {
'1': relationshipsFactory({
'1': relationshipsFactoryAPI({
followed_by: true,
}),
},