mirror of
https://github.com/Nezumi-2711/react-training.git
synced 2026-09-23 04:19:48 +00:00
Update code and message test case
This commit is contained in:
@@ -4,14 +4,14 @@ import { BrowserRouter } from 'react-router-dom';
|
||||
// Components
|
||||
import AppLayout from '.';
|
||||
|
||||
describe('AppLayout testing snapshot', () => {
|
||||
describe('AppLayout', () => {
|
||||
const wrapper = renderer.create(
|
||||
<BrowserRouter>
|
||||
<AppLayout />
|
||||
</BrowserRouter>
|
||||
);
|
||||
|
||||
test('render', () => {
|
||||
test('Should render correctly', () => {
|
||||
expect(wrapper).toMatchSnapshot();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user