+ )
+ }
+}
+
+export default NewCardForm;
+
+NewCardForm.propTypes = {
+ addCardCallback: PropTypes.func.isRequired,
+};
\ No newline at end of file
diff --git a/src/components/NewCardForm.test.js b/src/components/NewCardForm.test.js
deleted file mode 100644
index e69de29b..00000000
diff --git a/src/components/test/Card.test.js b/src/components/test/Card.test.js
new file mode 100644
index 00000000..c6fe2ebd
--- /dev/null
+++ b/src/components/test/Card.test.js
@@ -0,0 +1,14 @@
+import React from 'react';
+import Card from '../Card';
+import { shallow } from 'enzyme';
+
+describe('Card', () => {
+ test('that it matches an existing snapshot', () => {
+ // First Mount the Component in the testing DOM
+ // Arrange
+ const wrapper = shallow( {} } />);
+
+ // Assert that it looks like the last snapshot
+ expect(wrapper).toMatchSnapshot();
+ });
+ });
\ No newline at end of file
diff --git a/src/components/test/NewCardForm.test.js b/src/components/test/NewCardForm.test.js
new file mode 100644
index 00000000..ebba2a34
--- /dev/null
+++ b/src/components/test/NewCardForm.test.js
@@ -0,0 +1,16 @@
+import React from 'react';
+import NewCardForm from '../NewCardForm';
+import { shallow } from 'enzyme';
+
+describe('NewCardForm', () => {
+ test('that it matches an existing snapshot', () => {
+ // First Mount the Component in the testing DOM
+ // Arrange
+ const wrapper = shallow( {} } />);
+
+ // Assert that it looks like the last snapshot
+ expect(wrapper).toMatchSnapshot();
+ });
+ });
+
+
\ No newline at end of file
diff --git a/src/components/test/__snapshots__/Card.test.js.snap b/src/components/test/__snapshots__/Card.test.js.snap
new file mode 100644
index 00000000..115ae418
--- /dev/null
+++ b/src/components/test/__snapshots__/Card.test.js.snap
@@ -0,0 +1,20 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`Card that it matches an existing snapshot 1`] = `
+
+
+
+
+
+`;
diff --git a/src/components/test/__snapshots__/NewCardForm.test.js.snap b/src/components/test/__snapshots__/NewCardForm.test.js.snap
new file mode 100644
index 00000000..e1cf3ec0
--- /dev/null
+++ b/src/components/test/__snapshots__/NewCardForm.test.js.snap
@@ -0,0 +1,89 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`NewCardForm that it matches an existing snapshot 1`] = `
+
+
+ Submit a New Card
+
+
+
+`;
diff --git a/src/setupTests.js b/src/setupTests.js
index fc7b0dce..7a1fee7e 100644
--- a/src/setupTests.js
+++ b/src/setupTests.js
@@ -1,4 +1,4 @@
-import Enzyme from 'enzyme';
+import { configure } from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
-Enzyme.configure({ adapter: new Adapter() });
+configure({ adapter: new Adapter() });
\ No newline at end of file