Commit ba578e4
committed
Add delayed exit after CodeceptJS teardown to prevent process hanging
- Added 1-second delayed process.exit() in lib/command/run.js after teardown
- This ensures CodeceptJS acceptance tests exit cleanly after printing stats
- Fixes process hanging issue where 'OK | X passed, Y skipped' was printed but process wouldn't exit
- Can be disabled with CODECEPT_DISABLE_AUTO_EXIT=1 environment variable1 parent 5eab620 commit ba578e4
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
45 | 53 | | |
46 | 54 | | |
0 commit comments