From 7a8f6604e77859455d8abab8c46af0a4619a9c60 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 20 Jun 2018 23:08:45 +0300 Subject: add Footer snapshots --- vnext/src/components/__tests__/Footer.test.js | 18 +++ .../__tests__/__snapshots__/Footer.test.js.snap | 175 +++++++++++++++++++++ 2 files changed, 193 insertions(+) create mode 100644 vnext/src/components/__tests__/Footer.test.js create mode 100644 vnext/src/components/__tests__/__snapshots__/Footer.test.js.snap (limited to 'vnext/src') diff --git a/vnext/src/components/__tests__/Footer.test.js b/vnext/src/components/__tests__/Footer.test.js new file mode 100644 index 00000000..17461b85 --- /dev/null +++ b/vnext/src/components/__tests__/Footer.test.js @@ -0,0 +1,18 @@ +import React from 'react'; + +import Footer from '../Footer'; +import renderer from 'react-test-renderer'; + +test('Footer renders correctly with and without sponsors', () => { + const footer = renderer.create( +