Commit fdfb34c
committed
test(snapshots): migrate
Migrates the 30 hand-convertible `check-*` cases from
`packages/cli/snap-tests` to the PTY snapshot suite under
`crates/vite_cli_snapshots`, and removes the legacy dirs. The 4
`check-pass*` cases were already covered by net-new fixtures on main
(same env + `vp check`), so their redundant legacy dirs are removed too.
`fmt-check-with-vite-config` is left in place for the fmt migration.
Part of #2116.vp check cases to the PTY snapshot suite1 parent cfbc122 commit fdfb34c
213 files changed
Lines changed: 589 additions & 415 deletions
File tree
- crates/vite_cli_snapshots/tests/cli_snapshots/fixtures
- check_all_skipped
- snapshots
- check_cache_disabled
- snapshots
- src
- check_cache_enabled
- snapshots
- src
- check_config_flag_precedence
- snapshots
- src
- check_config_no_fmt
- snapshots
- src
- check_config_no_lint
- snapshots
- src
- check_fail_fast
- snapshots
- src
- check_fix_lint_error_not_swallowed
- snapshots
- src
- check_fix_lint_warn
- snapshots
- src
- check_fix_missing_stderr
- snapshots
- src
- check_fix_no_error_unmatched
- snapshots
- src/ignored
- check_fix_no_fmt_no_lint_typecheck
- snapshots
- src
- check_fix_no_lint_typecheck_fail
- snapshots
- src
- check_fix_no_lint_typecheck
- snapshots
- src
- check_fix_paths
- snapshots
- src
- check_fix_reformat
- snapshots
- src
- check_fix
- snapshots
- src
- check_fmt_fail
- snapshots
- src
- check_lint_fail_no_typecheck
- snapshots
- src
- check_lint_fail_typecheck
- snapshots
- src
- check_lint_fail
- snapshots
- src
- check_lint_warn_deny_warnings
- snapshots
- src
- check_lint_warn
- snapshots
- src
- check_no_fmt_no_lint_typecheck
- snapshots
- src
- check_no_fmt
- snapshots
- src
- check_no_lint_typecheck_fail
- snapshots
- src
- check_no_lint_typecheck
- snapshots
- src
- check_no_lint
- snapshots
- src
- check_oxlint_env
- snapshots
- src
- check_vitest_globals_typecheck
- snapshots
- src
- packages/cli/snap-tests
- check-all-skipped
- check-cache-disabled
- check-cache-enabled
- check-config-flag-precedence
- check-config-no-fmt
- check-config-no-lint
- check-fail-fast
- check-fix-lint-error-not-swallowed
- check-fix-lint-warn
- check-fix-missing-stderr
- check-fix-no-error-unmatched
- check-fix-no-fmt-no-lint-typecheck
- check-fix-no-lint-typecheck-fail
- check-fix-no-lint-typecheck
- check-fix-paths
- check-fix-reformat
- check-fix
- check-fmt-fail
- check-lint-fail-no-typecheck
- check-lint-fail-typecheck
- check-lint-fail
- check-lint-warn-deny-warnings
- check-lint-warn
- check-no-fmt-no-lint-typecheck
- check-no-fmt
- check-no-lint-typecheck-fail
- check-no-lint-typecheck
- check-no-lint
- check-oxlint-env
- check-pass-no-typecheck
- src
- check-pass-typecheck-github-actions
- src
- check-pass-typecheck
- src
- check-pass
- src
- check-vitest-globals-typecheck
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Lines changed: 11 additions & 0 deletions
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 | + | |
Lines changed: 40 additions & 0 deletions
0 commit comments