Commit acf2faa
committed
test_runner: address review feedback
- Remove processExecArgv option: process.execArgv is runtime state
that should not be a public API option. Keep reading it directly
in getRunArgs() as before.
- Fix env with isolation=none: only set options.env from CLI entry
point when isolation is not 'none', preventing ERR_INVALID_ARG_VALUE
when using --test-isolation=none.
- Add documentation for the env option in doc/api/test.md.
- Add tests for env option acceptance and env+isolation=none rejection.1 parent e1746a9 commit acf2faa
4 files changed
Lines changed: 28 additions & 9 deletions
File tree
- doc/api
- lib/internal
- main
- test_runner
- test/parallel
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1546 | 1546 | | |
1547 | 1547 | | |
1548 | 1548 | | |
| 1549 | + | |
| 1550 | + | |
| 1551 | + | |
1549 | 1552 | | |
1550 | 1553 | | |
1551 | 1554 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
171 | 170 | | |
172 | 171 | | |
173 | 172 | | |
| |||
185 | 184 | | |
186 | 185 | | |
187 | 186 | | |
188 | | - | |
| 187 | + | |
189 | 188 | | |
190 | 189 | | |
191 | 190 | | |
| |||
653 | 652 | | |
654 | 653 | | |
655 | 654 | | |
656 | | - | |
657 | 655 | | |
658 | 656 | | |
659 | 657 | | |
| |||
668 | 666 | | |
669 | 667 | | |
670 | 668 | | |
671 | | - | |
672 | | - | |
673 | | - | |
674 | 669 | | |
675 | 670 | | |
676 | 671 | | |
| |||
849 | 844 | | |
850 | 845 | | |
851 | 846 | | |
852 | | - | |
853 | 847 | | |
854 | 848 | | |
855 | 849 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
687 | 687 | | |
688 | 688 | | |
689 | 689 | | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
690 | 711 | | |
691 | 712 | | |
692 | 713 | | |
| |||
0 commit comments