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
Because of an issue with istanbuljs/nyc it's possible that failed unit test runs are shown as passing in the CI, for example if a JavaScript heap out of memory error occurs.
Here's the issue that tracks the bug upstream istanbuljs/nyc#798
The current issue is related to #2300
Steps to reproduce
Create an example test file
echo"var x = []; while(true) x.push({ a:'123'.repeat(1000000) });"> test.ts
run npx nyc ts-mocha --max-old-space-size=16 test.ts
Check the exit code echo "Exit code: $?"
Expected exit code is 134, but the actual is 0
Additional context
No response
Hedera network
other
Version
v0.45.0
Operating system
None
The text was updated successfully, but these errors were encountered:
Description
Because of an issue with istanbuljs/nyc it's possible that failed unit test runs are shown as passing in the CI, for example if a
JavaScript heap out of memory
error occurs.Here's the issue that tracks the bug upstream istanbuljs/nyc#798
The current issue is related to #2300
Steps to reproduce
npx nyc ts-mocha --max-old-space-size=16 test.ts
echo "Exit code: $?"
Expected exit code is
134
, but the actual is0
Additional context
No response
Hedera network
other
Version
v0.45.0
Operating system
None
The text was updated successfully, but these errors were encountered: