feat: add route option (close #1505) #409
Annotations
4 errors and 1 notice
E2E test (base /):
e2e/tests/router/resolve-route.spec.ts#L65
1) [chromium] › router/resolve-route.spec.ts:54:1 › should resolve routes correctly ──────────────
Error: expect(received).toStrictEqual(expected) // deep equality
- Expected - 1
+ Received + 0
Object {
"a": 0,
- "b": 2,
"c": 3,
}
63 | const resolvedRoute = JSON.parse(/: (\{.*\})\s*$/.exec(textContent!)![1])
64 | expect(resolvedRoute.path).toEqual(expected.path)
> 65 | expect(resolvedRoute.meta).toStrictEqual(expected.meta)
| ^
66 | expect(resolvedRoute.notFound).toEqual(expected.notFound)
67 | }
68 | }
at /home/runner/work/core/core/e2e/tests/router/resolve-route.spec.ts:65:34
|
E2E test (base /):
e2e/tests/router/resolve-route.spec.ts#L65
1) [chromium] › router/resolve-route.spec.ts:54:1 › should resolve routes correctly ──────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toStrictEqual(expected) // deep equality
- Expected - 1
+ Received + 0
Object {
"a": 0,
- "b": 2,
"c": 3,
}
63 | const resolvedRoute = JSON.parse(/: (\{.*\})\s*$/.exec(textContent!)![1])
64 | expect(resolvedRoute.path).toEqual(expected.path)
> 65 | expect(resolvedRoute.meta).toStrictEqual(expected.meta)
| ^
66 | expect(resolvedRoute.notFound).toEqual(expected.notFound)
67 | }
68 | }
at /home/runner/work/core/core/e2e/tests/router/resolve-route.spec.ts:65:34
|
E2E test (base /):
e2e/tests/router/resolve-route.spec.ts#L65
1) [chromium] › router/resolve-route.spec.ts:54:1 › should resolve routes correctly ──────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toStrictEqual(expected) // deep equality
- Expected - 1
+ Received + 0
Object {
"a": 0,
- "b": 2,
"c": 3,
}
63 | const resolvedRoute = JSON.parse(/: (\{.*\})\s*$/.exec(textContent!)![1])
64 | expect(resolvedRoute.path).toEqual(expected.path)
> 65 | expect(resolvedRoute.meta).toStrictEqual(expected.meta)
| ^
66 | expect(resolvedRoute.notFound).toEqual(expected.notFound)
67 | }
68 | }
at /home/runner/work/core/core/e2e/tests/router/resolve-route.spec.ts:65:34
|
E2E test (base /)
Process completed with exit code 1.
|
E2E test (base /)
1 failed
[chromium] › router/resolve-route.spec.ts:54:1 › should resolve routes correctly ───────────────
48 passed (17.5s)
|
Loading