From d57122c79fa649c6d131d39c3a3295fe76b92b47 Mon Sep 17 00:00:00 2001
From: Poorshad
Date: Mon, 27 May 2024 20:34:58 +0200
Subject: [PATCH] test folder should be excluded
---
src/extension.ts | 2 +-
tsconfig.json | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/extension.ts b/src/extension.ts
index eb8f9d6..fd6afc7 100644
--- a/src/extension.ts
+++ b/src/extension.ts
@@ -105,7 +105,7 @@ async function fetchType(types: string[]) {
return type;
}
-async function fetchText(
+export async function fetchText(
field: string,
maxLength?: number,
minLength?: number
diff --git a/tsconfig.json b/tsconfig.json
index 315af7e..f9d2850 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -13,5 +13,6 @@
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
// "noUnusedParameters": true, /* Report errors on unused parameters. */
- }
+ },
+ "exclude": ["src/test/**/*.ts", "node_modules"],
}