I am writing test case for my react component and am using '.toContain' to check but i add onClikc function into it and i wrapped all the html in one quotes it add's a back slash to it
Code
it("renders the correct Props ", () => {
const wrapper
…
Top comments (0)