From 7c9ab9d673a92c46e36849b4131b20e85165a79b Mon Sep 17 00:00:00 2001 From: Mark Date: Sat, 9 Nov 2019 15:21:36 -0500 Subject: [PATCH] test(types): move TypeScript tests from `lint` to `test` directory --- {lint => test}/types/index.test.tsx | 0 {lint => test}/types/lib/dom-to-react.test.tsx | 0 tsconfig.json | 9 ++++++--- 3 files changed, 6 insertions(+), 3 deletions(-) rename {lint => test}/types/index.test.tsx (100%) rename {lint => test}/types/lib/dom-to-react.test.tsx (100%) diff --git a/lint/types/index.test.tsx b/test/types/index.test.tsx similarity index 100% rename from lint/types/index.test.tsx rename to test/types/index.test.tsx diff --git a/lint/types/lib/dom-to-react.test.tsx b/test/types/lib/dom-to-react.test.tsx similarity index 100% rename from lint/types/lib/dom-to-react.test.tsx rename to test/types/lib/dom-to-react.test.tsx diff --git a/tsconfig.json b/tsconfig.json index 8daca917..0ae4f4e0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,13 +10,16 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "paths": { "html-react-parser": ["."], "html-react-parser/lib/*": ["./lib/*"] }, + "paths": { + "html-react-parser": ["."], + "html-react-parser/lib/*": ["./lib/*"] + }, "jsx": "react" }, "files": [ "index.d.ts", "lib/dom-to-react.d.ts", - "lint/types/index.test.tsx", - "lint/types/lib/dom-to-react.test.tsx" + "test/types/index.test.tsx", + "test/types/lib/dom-to-react.test.tsx" ] }