From 68a552a1302aad5555e2140b2a985d2521a5c75b Mon Sep 17 00:00:00 2001 From: Otto Allmendinger Date: Fri, 29 Nov 2024 13:46:10 +0100 Subject: [PATCH] fix(bitgo): include test/ in tsconfig.json Exclude broken tests from `tsconfig.json`. Feel free to fix them! Issue: BTC-1450 --- modules/bitgo/test/tsconfig.json | 15 --------------- modules/bitgo/tsconfig.json | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 15 deletions(-) delete mode 100644 modules/bitgo/test/tsconfig.json diff --git a/modules/bitgo/test/tsconfig.json b/modules/bitgo/test/tsconfig.json deleted file mode 100644 index 4f4bb37796..0000000000 --- a/modules/bitgo/test/tsconfig.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "extends": "../tsconfig.json", - "compilerOptions": { - "typeRoots": [ - "../types", - "../../../types", - "../node_modules/@types", - "../../../node_modules/@types" - ], - "noEmit": true - }, - "include": [ - "./**/*" - ] -} diff --git a/modules/bitgo/tsconfig.json b/modules/bitgo/tsconfig.json index fe18f75b46..7cdf3477ea 100644 --- a/modules/bitgo/tsconfig.json +++ b/modules/bitgo/tsconfig.json @@ -14,8 +14,30 @@ }, "include": [ "src/**/*", + "test/**/*", "package.json" ], + "exclude": [ + "test/integration/bitgo.ts", + "test/integration/travelRule.ts", + "test/integration/wallet.ts", + "test/integration/wallets.ts", + "test/integration/userWebhooks.ts", + "test/integration/keychains.ts", + "test/integration/enterprise.ts", + "test/v2/integration/baseCoin.ts", + "test/v2/integration/bitgo.ts", + "test/v2/integration/wallet.ts", + "test/v2/integration/wallets.ts", + "test/v2/integration/keychains.ts", + "test/v2/integration/userWebhooks.ts", + "test/v2/integration/markets.ts", + "test/v2/integration/coins/baseCoin.ts", + "test/v2/integration/coins/eth.ts", + "test/v2/integration/coins/eth2.ts", + "test/v2/integration/coins/xlm.ts", + "test/v2/integration/coins/xrp.ts" + ], "typedocOptions": { "mode": "modules", "out": "docs",