diff --git a/types/linkifyjs/linkifyjs-tests.tsx b/types/linkifyjs/linkifyjs-tests.tsx index 57c91dae5a..23ae8e3722 100644 --- a/types/linkifyjs/linkifyjs-tests.tsx +++ b/types/linkifyjs/linkifyjs-tests.tsx @@ -182,28 +182,38 @@ describe("linkifyjs/react", () => { /* Default values for all props */ { + const content = + "For help with GitHub.com, please email support@github.com"; - Hello https://google.com - + {content} + ; } - + /* Custom class name */ { - - Hello https://google.com - + const content = + "For help with GitHub.com, please email support@github.com"; + + {content} + ; } /* Custom tag name */ { - - Hello https://google.com - + const content = + "For help with GitHub.com, please email support@github.com"; + + {content} + ; } });