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,7 +1,7 @@
import type { Meta, StoryObj } from '@storybook/react-vite';
import type { StatusVisibility } from '@/mastodon/api_types/statuses';
import { statusFactoryState } from '@/testing/factories';
import { statusFactoryImmutable } from '@/testing/factories';
import { BoostButton } from './boost_button';
@@ -50,7 +50,7 @@ function argsToStatus({
quoteAllowed,
alreadyBoosted,
}: StoryProps) {
return statusFactoryState({
return statusFactoryImmutable({
reblogs_count: reblogCount,
visibility,
reblogged: alreadyBoosted,