From d0e21c9bb23f0600ba87ffa6f77e9e67eae025fd Mon Sep 17 00:00:00 2001 From: Jason Hartman Date: Wed, 13 Mar 2024 13:32:46 -0700 Subject: [PATCH] tools(client-property-dds): remove mocha-ts scripts test:mocha-ts* are not usable per several issues with ts-node (10.9.2 or earlier): - https://github.com/TypeStrong/ts-node/issues/2000 no tsconfig extends multiple files support - https://github.com/TypeStrong/ts-node/issues/1967 lack of .ts + ESM understanding - failure to resolve .js extensions using CommonJS --- experimental/PropertyDDS/packages/property-dds/package.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/experimental/PropertyDDS/packages/property-dds/package.json b/experimental/PropertyDDS/packages/property-dds/package.json index c2816175e270..8841ad4a50b3 100644 --- a/experimental/PropertyDDS/packages/property-dds/package.json +++ b/experimental/PropertyDDS/packages/property-dds/package.json @@ -70,8 +70,6 @@ "prettier:fix": "prettier --write . --cache --ignore-path ../../../../.prettierignore", "test": "npm run test:mocha", "test:mocha": "npm run test:mocha:esm && echo skipping cjs due to high overhead - npm run test:mocha:cjs", - "test:mocha-ts": "cross-env FLUID_TEST_VERBOSE=1 TS_NODE_PROJECT=./src/test/tsconfig.json mocha --require ts-node/register --extensions ts,tsx \"src/test/**/*.spec.ts\" --exit --timeout 1500000", - "test:mocha-ts-inspect": "cross-env FLUID_TEST_VERBOSE=1 TS_NODE_PROJECT=./src/test/tsconfig.json mocha --inspect-brk --require ts-node/register --extensions ts,tsx \"src/test/**/*.spec.ts\" --exit --timeout 1500000", "test:mocha:cjs": "mocha --recursive \"dist/test/**/*.spec.*js\" --exit", "test:mocha:esm": "mocha --recursive \"lib/test/**/*.spec.*js\" --exit", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",