Commit f8c07a4
committed
test(@angular/cli): correct unscoped auth E2E test logic
The E2E test for `ng add` with unscoped registry authentication was being incorrectly executed for `pnpm`. The previous logic excluded `npm` and `bun` but erroneously assumed `pnpm` supported this authentication method, which it does not.
This commit refines the `supportsUnscopedAuth` condition to be strictly limited to `yarn`. This ensures the unscoped authentication test case is now accurately targeted, only running against the package manager that supports this behavior, thereby improving the overall reliability of the secure registry tests.1 parent be44746 commit f8c07a4
1 file changed
+5
-4
lines changedLines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | 16 | | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | | - | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
0 commit comments