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,7 +4,7 @@ import { BrowserRouter } from 'react-router-dom';
// Components
import Search from '.';
describe('Search testing snapshot', () => {
describe('Search', () => {
const placeHolder = 'Search placeholder...';
const wrapper = renderer.create(
<BrowserRouter>
@@ -12,7 +12,7 @@ describe('Search testing snapshot', () => {
</BrowserRouter>
);
test('render', () => {
test('Should render correctly', () => {
expect(wrapper).toMatchSnapshot();
});
});
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Search testing snapshot render 1`] = `
exports[`Search Should render correctly 1`] = `
<input
className="sc-bdnyFh eAgOPb"
onChange={[Function]}