Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
feat(Footer): add basic test
Browse files Browse the repository at this point in the history
feat(Footer): add basic test
  • Loading branch information
Metnew committed Sep 10, 2017
1 parent 9da0ee7 commit 1577664
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/common/components/parts/Footer/index.test.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from 'react'
import Footer from 'components/parts/Footer'
import {shallow} from 'enzyme'
import toJson from 'enzyme-to-json'

describe('Footer component', () => {
it('same snapshot', () => {
const component = shallow(<Footer />)
expect(toJson(component)).toMatchSnapshot()
})
})

0 comments on commit 1577664

Please sign in to comment.