Skip to content

test: move glob test root to reduce snapshot change#18053

Merged
patak-cat merged 1 commit intovitejs:mainfrom
sapphi-red:test/move-root-for-glob-test
Sep 9, 2024
Merged

test: move glob test root to reduce snapshot change#18053
patak-cat merged 1 commit intovitejs:mainfrom
sapphi-red:test/move-root-for-glob-test

Conversation

@sapphi-red
Copy link
Member

Description

Moved glob test root to reduce snapshot diff when adding unit tests for other plugins.

For example, #17589 adds packages/vite/src/node/__tests__/plugins/terser.spec.ts and that causes the glob test to fail: https://github.com/vitejs/vite/actions/runs/10749825079/job/29815203095#step:11:126
I think this is confusing for new contributors.

@sapphi-red sapphi-red added the p1-chore Doesn't change code behavior (priority) label Sep 9, 2024
@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@patak-cat patak-cat merged commit 04d7e77 into vitejs:main Sep 9, 2024
@sapphi-red sapphi-red deleted the test/move-root-for-glob-test branch September 9, 2024 10:55
moonlitusun pushed a commit to moonlitusun/vite that referenced this pull request May 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p1-chore Doesn't change code behavior (priority)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants