test: expect pinned shadcn CLI version

Align the test expectation with the pinned shadcn@2.3.0 fallback implementation.
This commit is contained in:
Kc 2026-07-27 14:01:28 +08:00 committed by GitHub
parent 43e8d4a5b0
commit 98a80d8630
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -173,7 +173,7 @@ class TestShadcnInstaller:
# Verify correct command was called
mock_run.assert_called_once()
call_args = mock_run.call_args[0][0]
assert call_args[:3] == ["npx", "shadcn@latest", "add"]
assert call_args[:3] == ["npx", "shadcn@2.3.0", "add"]
assert "button" in call_args
assert "card" in call_args