update test

This commit is contained in:
Citrinin
2020-10-25 17:11:36 +03:00
parent a1bbb7f887
commit a7ee36dad0
2 changed files with 2 additions and 2 deletions
@@ -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" 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" id="subtitle"
onChange={[Function]} onChange={[Function]}
value="subtitle" value="A frontend developer"
/> />
</div> </div>
`; `;
+1 -1
View File
@@ -8,7 +8,7 @@ describe("Subtitle", () => {
const mockEvent = { target: { value: "This is a mock event" } } const mockEvent = { target: { value: "This is a mock event" } }
const props = { const props = {
data: { data: {
subtitle: "subtitle", subtitle: "A frontend developer",
}, },
handleDataChange: jest.fn().mockReturnValue({}), handleDataChange: jest.fn().mockReturnValue({}),
} }