Files
Chromacase/front/views/SettingsView.test.tsx
Amaury 0d17119cf4 Feature/adc/#55 settings screen (#77)
* #55 - created settings views with sub navigation + preference page

* #55 - navigation done

* #55 - views and translations done

* #55 - merge main

* #55 - user settings interface update

* #55 - mobile view fix

Co-authored-by: Arthi-chaud <arthur.jamet@gmail.com>
2022-10-18 19:14:08 +02:00

13 lines
446 B
TypeScript

import React from 'react';
import { Provider } from 'react-redux';
import TestRenderer from 'react-test-renderer';
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);
});
});