Commit 177fa0d
committed
test: ensure npm 7 E2E test reset global version back to the actual initial version
The `misc/npm-7` E2E test previously assumed the initial version of npm was 6.x and
would then always install 6.x after the test was complete. With newer Node.js versions
this assumption is no longer true. The test now records the initial version present
prior to starting the test and restores that recorded version at completion.1 parent 7c0cdbd commit 177fa0d
1 file changed
+22
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
1 | 4 | | |
2 | 5 | | |
3 | 6 | | |
| |||
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
20 | 40 | | |
21 | 41 | | |
22 | 42 | | |
| |||
89 | 109 | | |
90 | 110 | | |
91 | 111 | | |
92 | | - | |
93 | | - | |
| 112 | + | |
| 113 | + | |
94 | 114 | | |
95 | 115 | | |
0 commit comments