Fix avatar test

This commit is contained in:
Alex Gleason 2022-05-07 13:37:24 -05:00
parent 939c74fe44
commit 1122b26695
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -1,11 +1,12 @@
import { fromJS } from 'immutable';
import React from 'react';
import { normalizeAccount } from 'soapbox/normalizers';
import { render, screen } from '../../jest/test-helpers';
import Avatar from '../avatar';
describe('<Avatar />', () => {
const account = fromJS({
const account = normalizeAccount({
username: 'alice',
acct: 'alice',
display_name: 'Alice',