-
-
Save lmiller1990/8fc6f13b3d174dcf674d786c6abffaee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tests/unit/NestedRoute.spec.js | |
NestedRoute | |
✕ renders a username from query string (25ms) | |
● NestedRoute › renders a username from query string | |
[vue-test-utils]: find did not return .username, cannot call text() on empty Wrapper | |
``` | |
Update `<NestedRoute>`: | |
```vue | |
<template> | |
<div> | |
Nested Route | |
<div class="username"> | |
{{ $route.params.username }} | |
</div> | |
</div> | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment