New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor cli version test #20024
Refactor cli version test #20024
Conversation
Instead of deleting it, can it be changed to just expect any valid semver? It's nice to have a test for every command so we don't accidentally break it or lose it. |
Yes, we can, but this was an example test, do we want to keep it? |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Size Change: 0 B Total Size: 2.38 MB ℹ️ View Unchanged
|
If it works, yeah, it's still a valid test. But this update seems great, thanks! |
What does it do?
It verifies that the output from the strapi version command is a valid semver.
Why is it needed?
This way the test is easy to maintain while still verifies the version command.
How to test it?
Check all the cli tests pass
Related issue(s)/PR(s)