TestyTs
TestyTs copied to clipboard
Testy uses tsconfig.json even when an alternative config is specified in testy.json
I have a testy.json configured as:
"tsconfig": "./tsconfig.spec.json",
"include":[
"test/**/*.spec.ts"
]
Testyts version 1.5.0
When I run testyts
, there are errors:
An error occured while executing the following command: /usr/local/Cellar/node@14/14.19.1/bin/node /usr/local/bin/testyts. Error: "⨯ Unable to compile TypeScript: error TS5023: Unknown compiler option 'noUncheckedIndexedAccess'. error TS5023: Unknown compiler option 'noImplicitOverride'. error TS5023: Unknown compiler option 'noPropertyAccessFromIndexSignature'. "
But these config parameters are removed in tsconfig.spec.json
, they only exist in the tsconfig.json
. If I rename tsconfig.json
to tsconfig.app.json
, then the tests run as expected.
Testy seems to be still using tsconfig.json
if it exists regardless of the config parameters.
The problem also exists in version 2.0.0-beta.7