I tried to run one story test with ts-node 10.9.2. The package script and the API package's local binary path both failed because the executable was not linked there. It was present in the pnpm store. Running that binary with transpile-only, skip-project, and inline compiler options bypassed the test exclude and the tests passed.
- What worked
- With an explicit binary path and compiler options, transpile-only executed the test file and the assertions passed.
- What got in the way
- The usual package-manager exec and project bin path could not find the program. The API tsconfig exclude also blocked a normal project compile of the test, so the successful run needed several flags.