Add v6 tests (#674)
Replaces #528. I was just going off the features listed in the readme. There are a handful more we should test but this is a start. Note that this includes a readme change for `state.href` that I believe was incorrectly documented. Let me know if I got that wrong. Also note that we should delete the original `v6-tests` branch once this is merged. Leaving it for now for reference.
This commit is contained in:
committed by
Renée Kooi
parent
5396036fe8
commit
0e7bd854cf
@@ -249,7 +249,7 @@ An object containing the current queryString. `/foo?bin=baz` becomes `{ bin:
|
||||
'baz' }`.
|
||||
|
||||
### `state.href`
|
||||
An object containing the current href. `/foo?bin=baz` becomes `foo`.
|
||||
An object containing the current href. `/foo?bin=baz` becomes `/foo`.
|
||||
|
||||
### `state.route`
|
||||
The current name of the route used in the router (e.g. `/foo/:bar`).
|
||||
|
||||
Reference in New Issue
Block a user