update test
This commit is contained in:
@@ -13,7 +13,7 @@ exports[`Subtitle renders correctly 1`] = `
|
||||
className="outline-none w-full text-xs sm:text-lg sm:w-1/2 border-t-0 border-l-0 border-r-0 border solid border-gray-900 py-1 px-2 focus:border-blue-700"
|
||||
id="subtitle"
|
||||
onChange={[Function]}
|
||||
value="subtitle"
|
||||
value="A frontend developer"
|
||||
/>
|
||||
</div>
|
||||
`;
|
||||
|
||||
@@ -8,7 +8,7 @@ describe("Subtitle", () => {
|
||||
const mockEvent = { target: { value: "This is a mock event" } }
|
||||
const props = {
|
||||
data: {
|
||||
subtitle: "subtitle",
|
||||
subtitle: "A frontend developer",
|
||||
},
|
||||
handleDataChange: jest.fn().mockReturnValue({}),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user