Skip to content

Unable to get jest working with route on Vue 2.7.14 #682

Closed Answered by bakerkretzmar
danielsballes asked this question in Q&A
Discussion options

You must be logged in to vote

Within the <script> tags of your Vue components the route function is available as a mixin, so it's this.route() not just route(). That should fix this but let me know if it doesn't!

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@danielsballes
Comment options

@bakerkretzmar
Comment options

Answer selected by danielsballes
@danielsballes
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #681 on October 19, 2023 05:05.