From 9315b7d6eae6f9df380f94240cb9119a8f6ff95c Mon Sep 17 00:00:00 2001 From: Zak Stucke Date: Thu, 30 Nov 2023 16:09:44 +0000 Subject: [PATCH] Update --- js/tsconfig.json | 3 ++- js/vitest.config.ts | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/js/tsconfig.json b/js/tsconfig.json index 3ae6e317..7b378a7b 100644 --- a/js/tsconfig.json +++ b/js/tsconfig.json @@ -21,7 +21,8 @@ "moduleDetection": "force", "forceConsistentCasingInFileNames": true, "allowSyntheticDefaultImports": true, - "resolveJsonModule": true + "resolveJsonModule": true, + "jsx": "react-jsx" }, "exclude": ["bitbazaar/*.spec.(js|jsx|ts|tsx)", "bitbazaar/*.test.(js|jsx|ts|tsx)"], "include": ["bitbazaar/**/*", "tests/**/*"] diff --git a/js/vitest.config.ts b/js/vitest.config.ts index 3ca115e9..8e3d591a 100644 --- a/js/vitest.config.ts +++ b/js/vitest.config.ts @@ -35,6 +35,7 @@ export default defineConfig({ functions: 100, branches: 100, statements: 100, + include: ["bitbazaar/**/*.{js,jsx,ts,tsx}"], exclude: excludeGlobs, }, testTimeout: 15000,