diff --git a/src/components/Loader/__snapshots__/test.js.snap b/src/components/Loader/__snapshots__/test.js.snap
index 29fa6a5..ff47cf2 100644
--- a/src/components/Loader/__snapshots__/test.js.snap
+++ b/src/components/Loader/__snapshots__/test.js.snap
@@ -1,82 +1,75 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Loader rendering 1`] = `
-
+
-
-
-
+
+
+
+
+
+
+
+
+
TRANSLATE(Loading...)
-
+
`;
diff --git a/src/components/Loader/test.js b/src/components/Loader/test.js
index c463c51..49231b8 100644
--- a/src/components/Loader/test.js
+++ b/src/components/Loader/test.js
@@ -1,5 +1,5 @@
import React from 'react';
-import { mount } from 'enzyme';
+import { render } from 'react-testing-library';
import { mockT } from 'i18n';
import { Loader } from 'components/Loader';
@@ -8,9 +8,9 @@ describe('Loader', () => {
test('rendering', () => {
// Using full rendering here since styles for this depend on the structure
// of the SVG.
- const component = mount(
+ const { asFragment } = render(
);
- expect(component).toMatchSnapshot();
+ expect(asFragment()).toMatchSnapshot();
});
});