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
+9 -5
View File
@@ -6,8 +6,12 @@ import store from '../state/Store';
import AuthenticationView from '../views/AuthenticationView';
describe('<AuthenticationView />', () => {
it('has 3 children', () => {
const tree = TestRenderer.create(<Provider store={store}><AuthenticationView /></Provider>).toJSON();
expect(tree.children.length).toBe(3);
});
});
it('has 3 children', () => {
const tree = TestRenderer.create(
<Provider store={store}>
<AuthenticationView />
</Provider>
).toJSON();
expect(tree.children.length).toBe(3);
});
});