Test English render

Seto Elkahfi committed Jan 31, 2020 at 19:34 UTC 499c0907fcc9d6c9699fd1e05df96205cbe17abb
1 file changed +11
src/components/__tests__/Home.test.tsx new
+11
@@ -0,0 +1,11 @@
1 +import React from 'react'
2 +import { mountWithIntl } from './../../helpers/intl-enzyme-test-helper'
3 +import Home from '../Home'
4 +
5 +describe('<Home/>', () => {
6 + it('should render in English', () => {
7 + const wrapper = mountWithIntl(<Home firebase={null} />)
8 + const title = wrapper.find('h1').text()
9 + expect(title).toBe('Hello, my name is Seto Elkahfi')
10 + })
11 +})
\ No newline at end of file