1
0
Fork 0
forked from gitea/nas

refactor: Remove duplicated AvatarGroup CSS and familiar followers cleanup (#34681)

This commit is contained in:
diondiondion 2025-05-15 10:07:38 +02:00 committed by GitHub
parent d475bcce65
commit ccffa11f2b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 110 additions and 100 deletions

View file

@ -1,11 +1,13 @@
import { fromJS } from 'immutable';
import renderer from 'react-test-renderer';
import { accountDefaultValues, createAccountFromServerJSON } from '@/mastodon/models/account';
import { Avatar } from '../avatar';
describe('<Avatar />', () => {
const account = fromJS({
const account = createAccountFromServerJSON({
...accountDefaultValues,
username: 'alice',
acct: 'alice',
display_name: 'Alice',