Front: Pretty and Lint (#225)
This commit is contained in:
@@ -6,8 +6,12 @@ import store from '../state/Store';
|
||||
import HomeView from '../views/HomeView';
|
||||
|
||||
describe('<HomeView />', () => {
|
||||
it('has 2 children', () => {
|
||||
const tree = TestRenderer.create(<Provider store={store}><HomeView /></Provider>).toJSON();
|
||||
expect(tree.children.length).toBe(2);
|
||||
});
|
||||
it('has 2 children', () => {
|
||||
const tree = TestRenderer.create(
|
||||
<Provider store={store}>
|
||||
<HomeView />
|
||||
</Provider>
|
||||
).toJSON();
|
||||
expect(tree.children.length).toBe(2);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user