diff --git a/src/packages/Divider/__snapshots__/test.tsx.snap b/src/packages/Divider/__snapshots__/test.tsx.snap new file mode 100644 index 0000000..b53a79d --- /dev/null +++ b/src/packages/Divider/__snapshots__/test.tsx.snap @@ -0,0 +1,15 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[` should render Divider correctly 1`] = ` +.c0 { + height: 0.01rem; + background: #808080; + border: 0; +} + +
+
+
+`; diff --git a/src/packages/Divider/test.tsx b/src/packages/Divider/test.tsx new file mode 100644 index 0000000..fb633bb --- /dev/null +++ b/src/packages/Divider/test.tsx @@ -0,0 +1,11 @@ +import React from 'react' +import { render } from '../../utils/testUtils' + +import Divider from '.' + +describe('', () => { + it('should render Divider correctly', () => { + const { container } = render() + expect(container).toMatchSnapshot() + }) +}) diff --git a/src/packages/GridFluid/__snapshots__/test.tsx.snap b/src/packages/GridFluid/__snapshots__/test.tsx.snap new file mode 100644 index 0000000..5bfbf4a --- /dev/null +++ b/src/packages/GridFluid/__snapshots__/test.tsx.snap @@ -0,0 +1,18 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[` should render GridFluid correctly with children 1`] = ` +.c0 { + grid-column: 1/4; + width: 100%; +} + +
+
+
+ GridFluid +
+
+
+`; diff --git a/src/packages/GridFluid/test.tsx b/src/packages/GridFluid/test.tsx new file mode 100644 index 0000000..9892417 --- /dev/null +++ b/src/packages/GridFluid/test.tsx @@ -0,0 +1,15 @@ +import React from 'react' +import { render } from '../../utils/testUtils' + +import GridFluid from '.' + +describe('', () => { + it('should render GridFluid correctly with children', () => { + const { container } = render( + +
GridFluid
+
+ ) + expect(container).toMatchSnapshot() + }) +})