diff --git a/app/soapbox/components/__tests__/__snapshots__/avatar-test.js.snap b/app/soapbox/components/__tests__/__snapshots__/avatar-test.js.snap
index c3139fe69..2938fb3ed 100644
--- a/app/soapbox/components/__tests__/__snapshots__/avatar-test.js.snap
+++ b/app/soapbox/components/__tests__/__snapshots__/avatar-test.js.snap
@@ -2,30 +2,36 @@
exports[` Autoplay renders an animated avatar 1`] = `
+>
+
+
`;
exports[` Still renders a still avatar 1`] = `
+>
+
+
`;
diff --git a/app/soapbox/components/__tests__/__snapshots__/avatar_overlay-test.js.snap b/app/soapbox/components/__tests__/__snapshots__/avatar_overlay-test.js.snap
index d59fee42f..6481d1b69 100644
--- a/app/soapbox/components/__tests__/__snapshots__/avatar_overlay-test.js.snap
+++ b/app/soapbox/components/__tests__/__snapshots__/avatar_overlay-test.js.snap
@@ -5,20 +5,24 @@ exports[`
+ className="account__avatar-overlay-base still-image"
+ style={Object {}}
+ >
+
+
+ className="account__avatar-overlay-overlay still-image"
+ style={Object {}}
+ >
+
+
`;
diff --git a/app/soapbox/components/__tests__/avatar-test.js b/app/soapbox/components/__tests__/avatar-test.js
index f7f430c7a..297b0b413 100644
--- a/app/soapbox/components/__tests__/avatar-test.js
+++ b/app/soapbox/components/__tests__/avatar-test.js
@@ -1,7 +1,7 @@
import React from 'react';
-import renderer from 'react-test-renderer';
import { fromJS } from 'immutable';
-import { Avatar } from '../avatar';
+import { createComponent } from 'soapbox/test_helpers';
+import Avatar from '../avatar';
describe('', () => {
const account = fromJS({
@@ -16,7 +16,7 @@ describe('', () => {
describe('Autoplay', () => {
it('renders an animated avatar', () => {
- const component = renderer.create();
+ const component = createComponent();
const tree = component.toJSON();
expect(tree).toMatchSnapshot();
@@ -25,7 +25,7 @@ describe('', () => {
describe('Still', () => {
it('renders a still avatar', () => {
- const component = renderer.create();
+ const component = createComponent();
const tree = component.toJSON();
expect(tree).toMatchSnapshot();
diff --git a/app/soapbox/components/__tests__/avatar_overlay-test.js b/app/soapbox/components/__tests__/avatar_overlay-test.js
index ea75dab57..c469dcc75 100644
--- a/app/soapbox/components/__tests__/avatar_overlay-test.js
+++ b/app/soapbox/components/__tests__/avatar_overlay-test.js
@@ -1,7 +1,7 @@
import React from 'react';
-import renderer from 'react-test-renderer';
import { fromJS } from 'immutable';
-import { AvatarOverlay } from '../avatar_overlay';
+import { createComponent } from 'soapbox/test_helpers';
+import AvatarOverlay from '../avatar_overlay';
describe(' {
const account = fromJS({
@@ -21,7 +21,7 @@ describe(' {
});
it('renders a overlay avatar', () => {
- const component = renderer.create();
+ const component = createComponent();
const tree = component.toJSON();
expect(tree).toMatchSnapshot();