Testing and types updates (#39657)
This commit is contained in:
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,
|
||||
}),
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user