Skip to content

Commit a7ee36d

Browse files
committed
update test
1 parent a1bbb7f commit a7ee36d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/__tests__/__snapshots__/subtitle.test.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ exports[`Subtitle renders correctly 1`] = `
1313
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"
1414
id="subtitle"
1515
onChange={[Function]}
16-
value="subtitle"
16+
value="A frontend developer"
1717
/>
1818
</div>
1919
`;

src/components/__tests__/subtitle.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ describe("Subtitle", () => {
88
const mockEvent = { target: { value: "This is a mock event" } }
99
const props = {
1010
data: {
11-
subtitle: "subtitle",
11+
subtitle: "A frontend developer",
1212
},
1313
handleDataChange: jest.fn().mockReturnValue({}),
1414
}

0 commit comments

Comments
 (0)