feat: support React 19 #5465
Annotations
10 errors and 1 warning
Test:
packages/docusaurus/src/client/exports/__tests__/Link.test.tsx#L72
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `<Link> using "browser" router can render '/docs/intro' 1`
Snapshot: <a
data-test-link-type="react-router"
href="/docs/intro"
onClick={[Function]}
onMouseEnter={[Function]}
onTouchStart={[Function]}
/>
Received: null
at Object.toMatchInlineSnapshot (packages/docusaurus/src/client/exports/__tests__/Link.test.tsx:72:49)
|
Test:
packages/docusaurus/src/client/exports/__tests__/Link.test.tsx#L85
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `<Link> using "browser" router can render '/docs/intro' with baseUrl /baseUrl/ 1`
Snapshot: <a
data-test-link-type="react-router"
href="/baseUrl/docs/intro"
onClick={[Function]}
onMouseEnter={[Function]}
onTouchStart={[Function]}
/>
Received: null
at Object.toMatchInlineSnapshot (packages/docusaurus/src/client/exports/__tests__/Link.test.tsx:85:10)
|
Test:
packages/docusaurus/src/client/exports/__tests__/Link.test.tsx#L102
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `<Link> using "browser" router can render '/docs/intro' with baseUrl /docs/ 1`
Snapshot: <a
data-test-link-type="react-router"
href="/docs/intro"
onClick={[Function]}
onMouseEnter={[Function]}
onTouchStart={[Function]}
/>
Received: null
at Object.toMatchInlineSnapshot (packages/docusaurus/src/client/exports/__tests__/Link.test.tsx:102:10)
|
Test:
packages/docusaurus/src/client/exports/__tests__/Link.test.tsx#L115
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `<Link> using "browser" router can render '/docs/intro' with trailingSlash true 1`
Snapshot: <a
data-test-link-type="react-router"
href="/docs/intro/"
onClick={[Function]}
onMouseEnter={[Function]}
onTouchStart={[Function]}
/>
Received: null
at Object.toMatchInlineSnapshot (packages/docusaurus/src/client/exports/__tests__/Link.test.tsx:115:10)
|
Test:
packages/docusaurus/src/client/exports/__tests__/Link.test.tsx#L128
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `<Link> using "browser" router can render '/docs/intro/' with trailingSlash false 1`
Snapshot: <a
data-test-link-type="react-router"
href="/docs/intro"
onClick={[Function]}
onMouseEnter={[Function]}
onTouchStart={[Function]}
/>
Received: null
at Object.toMatchInlineSnapshot (packages/docusaurus/src/client/exports/__tests__/Link.test.tsx:128:10)
|
Test:
packages/docusaurus/src/client/exports/__tests__/Link.test.tsx#L140
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `<Link> using "browser" router can render '#anchor' 1`
Snapshot: <a
data-test-link-type="regular"
href="#anchor"
/>
Received: null
at Object.toMatchInlineSnapshot (packages/docusaurus/src/client/exports/__tests__/Link.test.tsx:140:45)
|
Test:
packages/docusaurus/src/client/exports/__tests__/Link.test.tsx#L149
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `<Link> using "browser" router can render '/docs/intro#anchor' 1`
Snapshot: <a
data-test-link-type="react-router"
href="/docs/intro#anchor"
onClick={[Function]}
onMouseEnter={[Function]}
onTouchStart={[Function]}
/>
Received: null
at Object.toMatchInlineSnapshot (packages/docusaurus/src/client/exports/__tests__/Link.test.tsx:149:56)
|
Test:
packages/docusaurus/src/client/exports/__tests__/Link.test.tsx#L161
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `<Link> using "browser" router can render '/docs/intro/#anchor' 1`
Snapshot: <a
data-test-link-type="react-router"
href="/docs/intro/#anchor"
onClick={[Function]}
onMouseEnter={[Function]}
onTouchStart={[Function]}
/>
Received: null
at Object.toMatchInlineSnapshot (packages/docusaurus/src/client/exports/__tests__/Link.test.tsx:161:57)
|
Test:
packages/docusaurus/src/client/exports/__tests__/Link.test.tsx#L173
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `<Link> using "browser" router can render '/pathname?qs#anchor' 1`
Snapshot: <a
data-test-link-type="react-router"
href="/pathname?qs#anchor"
onClick={[Function]}
onMouseEnter={[Function]}
onTouchStart={[Function]}
/>
Received: null
at Object.toMatchInlineSnapshot (packages/docusaurus/src/client/exports/__tests__/Link.test.tsx:173:57)
|
Test:
packages/docusaurus/src/client/exports/__tests__/Link.test.tsx#L185
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `<Link> using "browser" router can render '' 1`
Snapshot: <a
data-test-link-type="regular"
/>
Received: null
at Object.toMatchInlineSnapshot (packages/docusaurus/src/client/exports/__tests__/Link.test.tsx:185:38)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading