blob: 3e190c0cbdd6cfb7db1b3eb2b8fda7570fe35534 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import { shallow } from 'enzyme';
import expect from 'expect';
import React from 'react';
import { Welcome } from 'src/login/about/welcome';
describe('Welcome', () => {
let welcome;
const mockTranslations = key => key;
beforeEach(() => {
welcome = shallow(<Welcome t={mockTranslations} />);
});
it('renders welcome component', () => {
expect(welcome.find('.welcome').length).toEqual(1);
});
});
|