tsx
11 lines
379 Bytes
| 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 | }) |