Move props
option to second arg of createRoute
utility
#993
Annotations
4 errors and 1 warning
Run tests:
src/components/routerView.browser.spec.ts#L291
AssertionError: expected 'NotFound' to be '_one__default__two_' // Object.is equality
Expected: "_one__default__two_"
Received: "NotFound"
❯ src/components/routerView.browser.spec.ts:291:26
|
Run tests:
src/components/routerView.browser.spec.ts#L461
AssertionError: expected '' to be '<h1>NotFound</h1>' // Object.is equality
- Expected
+ Received
- <h1>NotFound</h1>
❯ src/components/routerView.browser.spec.ts:461:26
|
Run tests:
src/types/routeWithParams.spec-d.ts#L16
TypeCheckError: Type 'Route<"parentA", Host<"", {}>, Path<"/parentA/[paramA]", {}>, Query<"", {}>, Hash<"">, Record<string, unknown>, Record<string, Param>, "parentA">' does not satisfy the constraint '{ meta "Expected ..., Actual never"; name "parentA"; hash { value ""; }; state "Expected ..., Actual never"; id string; matched { meta "Expected ..., Actual never" | "Expected undefined, Actual never"; ... 11 more ...; depth "Expected never, Actual number"; }; ... 5 more ...; depth number; }'.
Types of property 'meta' are incompatible.
Type 'Record<string, unknown>' is not assignable to type '"Expected ..., Actual never"'.
❯ src/types/routeWithParams.spec-d.ts:16:40
|
Run tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading