Init test case component

This commit is contained in:
2023-11-21 14:47:25 +07:00
parent 4aae26e994
commit 04ef95754c
20 changed files with 439 additions and 8 deletions
@@ -0,0 +1,17 @@
import renderer from 'react-test-renderer';
import { BrowserRouter } from 'react-router-dom';
// Components
import AppLayout from '.';
describe('AppLayout testing snapshot', () => {
const wrapper = renderer.create(
<BrowserRouter>
<AppLayout />
</BrowserRouter>
);
test('render', () => {
expect(wrapper).toMatchSnapshot();
});
});