Front: Pretty and Lint (#225)

This commit is contained in:
Arthur Jamet
2023-06-17 07:01:23 +01:00
committed by GitHub
parent 399c7d0d9e
commit c5d465df97
94 changed files with 3627 additions and 3089 deletions
+8 -4
View File
@@ -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);
});
});