| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Replace manual spawnSync() result assertions with test/common/child_process helper functions. Signed-off-by: Junsoo Ha <junsoo2018@naver.com>
|
Review requested:
|
Sorry, something went wrong.
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #65377 +/- ##
==========================================
+ Coverage 90.11% 90.13% +0.02%
==========================================
Files 752 752
Lines 251861 251861
Branches 47365 47362 -3
==========================================
+ Hits 226955 227011 +56
+ Misses 16238 16184 -54
+ Partials 8668 8666 -2 see 36 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
Sorry, something went wrong.
Replace manual spawnSync() result assertions with test/common/child_process helper functions. Signed-off-by: Junsoo Ha <junsoo2018@naver.com> PR-URL: #65377 Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Replace manual spawnSync() result assertions with test/common/child_process helper functions. Signed-off-by: Junsoo Ha <junsoo2018@naver.com> PR-URL: #65377 Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
| Back | FazBrowse Home | New Git URL |
Replace manual spawnSync() result assertions with
spawnSyncAndExitWithoutError(), spawnSyncAndExit() and
spawnSyncAndAssert() from test/common/child_process.
This also removes hand-rolled if (status !== 0) console.log(...)
blocks that duplicate what the helpers already do, and adds a
signal check to call sites that previously only compared status.
Follow-up to #65351, applying the same change to the remaining sync spawn call sites.