diff --git a/types/linkifyjs/linkifyjs-tests.tsx b/types/linkifyjs/linkifyjs-tests.tsx index 23ae8e3722..02d9d3b6d5 100644 --- a/types/linkifyjs/linkifyjs-tests.tsx +++ b/types/linkifyjs/linkifyjs-tests.tsx @@ -5,7 +5,10 @@ import Linkify from "linkifyjs/react"; declare function describe(desc: string, f: () => void): void; describe("linkifyjs/html", () => { - // From the docs here: https://soapbox.github.io/linkifyjs/docs/options.html + /** + * The following tests were taken directly from the documentation: + * https://soapbox.github.io/linkifyjs/docs/options.html + */ /* attributes */ @@ -147,7 +150,10 @@ describe("linkifyjs/html", () => { }); describe("linkifyjs/react", () => { - // From the docs here: https://soapbox.github.io/linkifyjs/docs/linkify-react.html + /** + * The following tests were taken directly from the documentation: + * https://soapbox.github.io/linkifyjs/docs/linkify-react.html + */ /* Usage */ @@ -178,7 +184,9 @@ describe("linkifyjs/react", () => { {content}; } - /* A few more test cases */ + /** + * The following tests were made specifically for DefinitelyTyped. + */ /* Default values for all props */ {