feat: support modify remarkPlugins & rehypePlugins #413
Annotations
2 errors and 1 notice
packages/playground/use-theme-doc/__tests__/hmr.spec.ts#L41
1) [use-theme-doc:serve] › ../packages/playground/use-theme-doc/__tests__/hmr.spec.ts:22:5 › hmr: edit file (js static data notation)
Error: Timed out 5000ms waiting for expect(received).toHaveCount(expected) // deep equality
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('.vp-local-sider').locator('text="modified title"')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
39 | await expect(
40 | page.locator('.vp-local-sider >> text="modified title"')
> 41 | ).toHaveCount(1)
| ^
42 | await testPlayground.restore()
43 | await expect(
44 | page.locator('.vp-local-sider >> text="index page title"')
at /home/runner/work/vite-plugin-react-pages/vite-plugin-react-pages/packages/playground/use-theme-doc/__tests__/hmr.spec.ts:41:5
|
packages/playground/use-theme-doc/__tests__/hmr.spec.ts#L126
2) [use-theme-doc:serve] › ../packages/playground/use-theme-doc/__tests__/hmr.spec.ts:80:5 › hmr: edit md file content
Error: Timed out 5000ms waiting for expect(received).toHaveCount(expected) // deep equality
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('.vp-local-outline').getByRole('link', { name: 'Heading one', exact: true })
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
124 | await expect(headingBeforeEdit).toHaveCount(1)
125 | await expect(headingAfterEdit).toHaveCount(0)
> 126 | await expect(outlineLinkBeforeEdit).toHaveCount(1)
| ^
127 | await expect(outlineLinkAfterEdit).toHaveCount(0)
128 | await expect(counterStateText).toHaveText('Counter component: 1.')
129 | })
at /home/runner/work/vite-plugin-react-pages/vite-plugin-react-pages/packages/playground/use-theme-doc/__tests__/hmr.spec.ts:126:39
|
|
The logs for this run have expired and are no longer available.
Loading