Update code and message test case

This commit is contained in:
2023-11-26 13:39:11 +07:00
parent a05ec603e5
commit 77b230dc5f
36 changed files with 66 additions and 72 deletions
@@ -4,14 +4,14 @@ import { BrowserRouter } from 'react-router-dom';
// Components
import Sidebar from '.';
describe('Sidebar testing snapshot', () => {
describe('Sidebar', () => {
const wrapper = renderer.create(
<BrowserRouter>
<Sidebar heading="Hotel Management" />
</BrowserRouter>
);
test('render', () => {
test('Should render correctly', () => {
expect(wrapper).toMatchSnapshot();
});
});
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Sidebar testing snapshot render 1`] = `
exports[`Sidebar Should render correctly 1`] = `
<aside
className="sc-dlniIP dfcuiS"
>