Skip to content
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

Added Vue version check #5

Merged
merged 4 commits into from
Nov 20, 2020
Merged

Added Vue version check #5

merged 4 commits into from
Nov 20, 2020

Conversation

psmyrek
Copy link
Contributor

@psmyrek psmyrek commented Nov 19, 2020

Suggested merge commit message (convention)

Internal: Added Vue version check. Closes #4.

Copy link
Member

@pomek pomek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Would be good to cover this change by a unit test but I assume, it can be a challenge.

@psmyrek
Copy link
Contributor Author

psmyrek commented Nov 19, 2020

Yep, this will be difficult, because Vue in unit tests is loaded by the @vue/test-utils internally.

@psmyrek
Copy link
Contributor Author

psmyrek commented Nov 20, 2020

Code coverage dropped by 4.5% due to lack of test for this recently added Vue version check. No idea how to stub Vue version here... 🤔

@pomek
Copy link
Member

pomek commented Nov 20, 2020

As we have no idea how to stub the Vue version in tests, let's ignore this while checking the code coverage.

@pomek pomek merged commit f1f296d into master Nov 20, 2020
@pomek pomek deleted the i/4 branch November 20, 2020 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Vue version check
3 participants