Rename component DefaultPage to Login

Change-Id: I1557ae86013884f791d18146b1234fdf2a7f8284
This commit is contained in:
Manuel Stahl
2019-02-07 13:10:10 +01:00
parent f5567b6483
commit 2db689a16d
10 changed files with 259 additions and 178 deletions
-15
View File
@@ -1,15 +0,0 @@
import React from 'react';
import { shallow } from 'enzyme';
import { DefaultPage } from '../../../src/features/home/DefaultPage';
describe('home/DefaultPage', () => {
it('renders node with correct class name', () => {
const props = {
home: {},
actions: {},
};
const renderedComponent = shallow(<DefaultPage {...props} />);
expect(renderedComponent.find('.home-default-page').length).toBe(1);
});
});
+15
View File
@@ -0,0 +1,15 @@
import React from 'react';
import { shallow } from 'enzyme';
import { Login } from '../../../src/features/home/Login';
describe('home/Login', () => {
it('renders node with correct class name', () => {
const props = {
home: {},
actions: {},
};
const renderedComponent = shallow(<Login {...props} />);
expect(renderedComponent.find('.home-login').length).toBe(1);
});
});