Commit 77eb0ca
committed
test(snapshots): migrate the local
Migrates npm-install-with-options (the one local npm-* case) from
packages/cli/snap-tests to the PTY snapshot suite, and removes the legacy
dir. The 10 npm-global-* cases stay in the legacy tree for now: they rely
on shell primitives the no-shell runner cannot yet express (test -L
symlink checks, $VP_HOME / $(pwd) expansion, invoking the installed
global CLIs, dynamic NPM_CONFIG_PREFIX), which need new vpt/runner support.
Part of #2116.npm install case to the PTY snapshot suite1 parent cf1e623 commit 77eb0ca
5 files changed
Lines changed: 36 additions & 14 deletions
File tree
- crates/vite_cli_snapshots/tests/cli_snapshots/fixtures/npm_install_with_options
- snapshots
- packages/cli/snap-tests/npm-install-with-options
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
2 | 8 | | |
3 | 9 | | |
4 | 10 | | |
| |||
33 | 39 | | |
34 | 40 | | |
35 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
36 | 45 | | |
37 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
38 | 49 | | |
| 50 | + | |
39 | 51 | | |
| 52 | + | |
40 | 53 | | |
41 | | - | |
| 54 | + | |
42 | 55 | | |
43 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
44 | 62 | | |
45 | | - | |
| 63 | + | |
46 | 64 | | |
| 65 | + | |
47 | 66 | | |
| 67 | + | |
48 | 68 | | |
49 | | - | |
| 69 | + | |
50 | 70 | | |
51 | 71 | | |
52 | 72 | | |
| |||
60 | 80 | | |
61 | 81 | | |
62 | 82 | | |
| 83 | + | |
Lines changed: 0 additions & 9 deletions
This file was deleted.
0 commit comments