We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf2c921 commit 0531a5cCopy full SHA for 0531a5c
src/uielements/__tests__/__snapshots__/loader.spec.js.snap
@@ -0,0 +1,13 @@
1
+// Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+exports[`should take a snapshot 1`] = `
4
+<DocumentFragment>
5
+ <div
6
+ class="Loader--Container"
7
+ >
8
9
+ class="Loader--Element"
10
+ />
11
+ </div>
12
+</DocumentFragment>
13
+`;
src/uielements/__tests__/loader.spec.js
@@ -0,0 +1,9 @@
+import React from 'react';
+import { render } from 'test-utils';
+import Loader from '../loader/loader.component.jsx';
+it('should take a snapshot', () => {
+ const { asFragment } = render(<Loader />)
+ expect(asFragment(<Loader />)).toMatchSnapshot()
+});
0 commit comments