You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I'm having a hard time understanding what the difference is between these two commands. Basically, I've configured two tsconfig.json files and I use the --project parameter to import them separately.
The performance is much better with ts-mocha, thank you for that. But I see differences in behaviour, and I'm having a hard time wrapping my head around it...
npm run test with strict: true: I get a lot of TS errors (this is expected)
Scenario 2
npm run test with strict: false: execution but worser performance than with ts-mocha
Scenario 3
npm run test:strict with strict: true: I get no TS errors and normal compilation, albeit fast performance (I expect a lot of TS errors, but don't get any)
Scenario 4
npm run test:strict with strict: false: I get no TS errors and normal compilation, albeit fast performance.
The text was updated successfully, but these errors were encountered:
Hey, I'm having a hard time understanding what the difference is between these two commands. Basically, I've configured two
tsconfig.json
files and I use the--project
parameter to import them separately.The performance is much better with
ts-mocha
, thank you for that. But I see differences in behaviour, and I'm having a hard time wrapping my head around it...package.json
:tsconfig.strict.json
:Scenario 1
npm run test
withstrict: true
: I get a lot of TS errors (this is expected)Scenario 2
npm run test
withstrict: false
: execution but worser performance than withts-mocha
Scenario 3
npm run test:strict
withstrict: true
: I get no TS errors and normal compilation, albeit fast performance (I expect a lot of TS errors, but don't get any)Scenario 4
npm run test:strict
withstrict: false
: I get no TS errors and normal compilation, albeit fast performance.The text was updated successfully, but these errors were encountered: