Skip to content

feat: support React 19 #5106

feat: support React 19

feat: support React 19 #5106

Triggered via pull request December 6, 2024 13:34
Status Failure
Total duration 8m 24s
Artifacts

tests-windows.yml

on: pull_request
Matrix: Windows Tests
Fit to window
Zoom out
Zoom in

Annotations

23 errors
<Link> › using "browser" router › can render '/docs/intro': 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)
<Link> › using "browser" router › can render '/docs/intro' with baseUrl /baseUrl/: 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)
<Link> › using "browser" router › can render '/docs/intro' with baseUrl /docs/: 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)
<Link> › using "browser" router › can render '/docs/intro' with trailingSlash true: 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)
<Link> › using "browser" router › can render '/docs/intro/' with trailingSlash false: 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)
<Link> › using "browser" router › can render '#anchor': 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)
<Link> › using "browser" router › can render '/docs/intro#anchor': 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)
<Link> › using "browser" router › can render '/docs/intro/#anchor': 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)
<Link> › using "browser" router › can render '/pathname?qs#anchor': 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)
<Link> › using "browser" router › can render '': 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)
Windows Tests (20)
The job was canceled because "_18_0" failed.
<Link> › using "browser" router › can render '/docs/intro': 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)
<Link> › using "browser" router › can render '/docs/intro' with baseUrl /baseUrl/: 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)
<Link> › using "browser" router › can render '/docs/intro' with baseUrl /docs/: 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)
<Link> › using "browser" router › can render '/docs/intro' with trailingSlash true: 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)
<Link> › using "browser" router › can render '/docs/intro/' with trailingSlash false: 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)
<Link> › using "browser" router › can render '#anchor': 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)
<Link> › using "browser" router › can render '/docs/intro#anchor': 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)
<Link> › using "browser" router › can render '/docs/intro/#anchor': 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)
<Link> › using "browser" router › can render '/pathname?qs#anchor': 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)
<Link> › using "browser" router › can render '': 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)
Windows Tests (22)
The job was canceled because "_18_0" failed.
Windows Tests (22)
The operation was canceled.