feat: add route option (close #1505) #409
Annotations
5 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 /Users/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 /Users/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 /Users/runner/work/core/core/e2e/tests/router/resolve-route.spec.ts:65:34
|
E2E test (base /):
e2e/tests/hmr.spec.ts#L61
2) [chromium] › hmr.spec.ts:56:3 › should update title correctly ─────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected)
Locator: locator(':root')
Expected pattern: /HMR Title/
Received string: ""
Call log:
- expect.toHaveTitle with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html lang="en">…</html>
- unexpected value ""
- locator resolved to <html lang="en">…</html>
- unexpected value ""
- locator resolved to <html lang="en">…</html>
- unexpected value ""
- locator resolved to <html lang="en">…</html>
- unexpected value ""
- locator resolved to <html lang="en">…</html>
- unexpected value ""
- locator resolved to <html lang="en">…</html>
- unexpected value ""
- locator resolved to <html lang="en">…</html>
- unexpected value ""
- locator resolved to <html lang="en">…</html>
- unexpected value ""
- locator resolved to <html lang="en">…</html>
- unexpected value ""
59 | await page.goto('hmr/title.html')
60 |
> 61 | await expect(page).toHaveTitle(/HMR Title/)
| ^
62 | await expect(titleLocator).toHaveText('HMR Title')
63 | await hmrUpdateTitle()
64 | await expect(page).toHaveTitle(/Updated Title/)
at /Users/runner/work/core/core/e2e/tests/hmr.spec.ts:61:24
|
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 ───────────────
1 flaky
[chromium] › hmr.spec.ts:56:3 › should update title correctly ──────────────────────────────────
47 passed (37.8s)
|
The logs for this run have expired and are no longer available.
Loading