diff --git a/src/components/App/__snapshots__/test.js.snap b/src/components/App/__snapshots__/test.js.snap new file mode 100644 index 0000000..dd7daf4 --- /dev/null +++ b/src/components/App/__snapshots__/test.js.snap @@ -0,0 +1,11 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Message rendering 1`] = ` + +

+ Placeholder app content +

+
+`; diff --git a/src/components/App.js b/src/components/App/index.js similarity index 100% rename from src/components/App.js rename to src/components/App/index.js diff --git a/src/components/App/test.js b/src/components/App/test.js new file mode 100644 index 0000000..eb85292 --- /dev/null +++ b/src/components/App/test.js @@ -0,0 +1,11 @@ +import React from 'react'; +import { shallow } from 'enzyme'; + +import App from './index'; + +test('Message rendering', () => { + const component = shallow( + + ); + expect(component).toMatchSnapshot(); +});