Skip to content

build(package): upgrade react from 18 to 19 in devDependencies #4460

build(package): upgrade react from 18 to 19 in devDependencies

build(package): upgrade react from 18 to 19 in devDependencies #4460

Triggered via pull request December 6, 2024 01:09
Status Failure
Total duration 39s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
HTMLReactParser › parses HTML with newlines: __tests__/index.test.tsx#L66
expect(received).toMatchSnapshot() Snapshot name: `HTMLReactParser parses HTML with newlines 1` - Snapshot - 1 + Received + 10 [ " ", - <br />, + { + "$$typeof": Symbol(react.transitional.element), + "_owner": null, + "_store": {}, + "key": "1", + "props": { + "children": undefined, + }, + "type": "br", + }, ] at __tests__/index.test.tsx:66:25
HTMLReactParser › parses HTML with newlines: __tests__/index.test.tsx#L66
expect(received).toMatchSnapshot() Snapshot name: `HTMLReactParser parses HTML with newlines 2` - Snapshot - 1 + Received + 10 [ - <br />, + { + "$$typeof": Symbol(react.transitional.element), + "_owner": null, + "_store": {}, + "key": "0", + "props": { + "children": undefined, + }, + "type": "br", + }, " ", ] at __tests__/index.test.tsx:66:25
HTMLReactParser › parses HTML with newlines: __tests__/index.test.tsx#L66
expect(received).toMatchSnapshot() Snapshot name: `HTMLReactParser parses HTML with newlines 3` - Snapshot - 1 + Received + 10 [ " ", - <br />, + { + "$$typeof": Symbol(react.transitional.element), + "_owner": null, + "_store": {}, + "key": "1", + "props": { + "children": undefined, + }, + "type": "br", + }, " ", ] at __tests__/index.test.tsx:66:25
HTMLReactParser › parses HTML with newlines: __tests__/index.test.tsx#L66
expect(received).toMatchSnapshot() Snapshot name: `HTMLReactParser parses HTML with newlines 4` - Snapshot - 3 + Received + 11 - <p> - foo + { + "$$typeof": Symbol(react.transitional.element), + "_owner": null, + "_store": {}, + "key": null, + "props": { + "children": "foo bar - </p> + ", + }, + "type": "p", + } at __tests__/index.test.tsx:66:25
HTMLReactParser › parses HTML with newlines: __tests__/index.test.tsx#L66
expect(received).toMatchSnapshot() Snapshot name: `HTMLReactParser parses HTML with newlines 5` - Snapshot - 3 + Received + 10 [ - <p> - foo - </p>, + { + "$$typeof": Symbol(react.transitional.element), + "_owner": null, + "_store": {}, + "key": "0", + "props": { + "children": "foo", + }, + "type": "p", + }, " bar", ] at __tests__/index.test.tsx:66:25
HTMLReactParser › parses HTML with newlines: __tests__/index.test.tsx#L66
expect(received).toMatchSnapshot() Snapshot name: `HTMLReactParser parses HTML with newlines 6` - Snapshot - 4 + Received + 11 [ "foo", - <p> - + { + "$$typeof": Symbol(react.transitional.element), + "_owner": null, + "_store": {}, + "key": "1", + "props": { + "children": " - bar - </p>, + bar", + }, + "type": "p", + }, " ", ] at __tests__/index.test.tsx:66:25
HTMLReactParser › parses single HTML element: __tests__/index.test.tsx#L70
expect(received).toMatchSnapshot() Snapshot name: `HTMLReactParser parses single HTML element 1` - Snapshot - 3 + Received + 10 - <p> - foo - </p> + { + "$$typeof": Symbol(react.transitional.element), + "_owner": null, + "_store": {}, + "key": null, + "props": { + "children": "foo", + }, + "type": "p", + } at Object.<anonymous> (__tests__/index.test.tsx:70:32)
HTMLReactParser › parses single HTML element with comment: __tests__/index.test.tsx#L75
expect(received).toMatchSnapshot() Snapshot name: `HTMLReactParser parses single HTML element with comment 1` - Snapshot - 3 + Received + 10 - <p> - foo - </p> + { + "$$typeof": Symbol(react.transitional.element), + "_owner": null, + "_store": {}, + "key": "0", + "props": { + "children": "foo", + }, + "type": "p", + } at Object.<anonymous> (__tests__/index.test.tsx:75:47)
HTMLReactParser › parses multiple HTML elements: __tests__/index.test.tsx#L79
expect(received).toMatchSnapshot() Snapshot name: `HTMLReactParser parses multiple HTML elements 1` - Snapshot - 6 + Received + 20 [ - <p> - foo - </p>, - <p> - bar - </p>, + { + "$$typeof": Symbol(react.transitional.element), + "_owner": null, + "_store": {}, + "key": "0", + "props": { + "children": "foo", + }, + "type": "p", + }, + { + "$$typeof": Symbol(react.transitional.element), + "_owner": null, + "_store": {}, + "key": "1", + "props": { + "children": "bar", + }, + "type": "p", + }, ] at Object.<anonymous> (__tests__/index.test.tsx:79:34)
HTMLReactParser › parses complex HTML with doctype: __tests__/index.test.tsx#L83
expect(received).toMatchSnapshot() Snapshot name: `HTMLReactParser parses complex HTML with doctype 1` - Snapshot - 48 + Received + 153 - <html> - <head> - <meta - charSet="utf-8" - /> - <title> - Title - </title> - <link - href="style.css" - rel="stylesheet" - /> - </head> - <body> - <header - id="header" - > - Header - </header> - <h1 - style={ + { + "$$typeof": Symbol(react.transitional.element), + "_owner": null, + "_store": {}, + "key": "1", + "props": { + "children": [ + { + "$$typeof": Symbol(react.transitional.element), + "_owner": null, + "_store": {}, + "key": "0", + "props": { + "children": [ + { + "$$typeof": Symbol(react.transitional.element), + "_owner": null, + "_store": {}, + "key": "0", + "props": { + "charSet": "utf-8", + "children": undefined, + }, + "type": "meta", + }, + { + "$$typeof": Symbol(react.transitional.element), + "_owner": null, + "_store": {}, + "key": "1", + "props": { + "children": "Title", + }, + "type": "title", + }, + { + "$$typeof": Symbol(react.transitional.element), + "_owner": null, + "_store": {}, + "key": "2", + "props": { + "children": undefined, + "href": "style.css", + "rel": "stylesheet", + }, + "type": "link", + }, + ], + }, + "type": "head", + }, { + "$$typeof": Symbol(react.transitional.element), + "_owner": null, + "_store": {}, + "key": "1", + "props": { + "children": [ + { + "$$typeof": Symbol(react.transitional.element), + "_owner": null, + "_store": {}, + "key": "0", + "props": { + "children": "Header", + "id": "header", + }, + "type": "header", + }, + { + "$$typeof": Symbol(react.transitional.element), + "_owner": null, + "_store": {}, + "key": "1", + "props": { + "children": "Heading", + "style": { "color": "#000", "fontSize": "42px", - } - } - > - Heading - </h1> - <hr /> - <p> - Paragraph - </p> - <img - src="image.jpg" - /> - <div - className="class1 class2" - > - Some - <em> - text - </em> - . - </div> - <script - dangerouslySetInnerHTML={ + }, + }, + "type": "h1", + }, + { + "$$typeof": Symbol(react.transitional.element), + "_owner": null, + "_store": {}, + "key": "2", + "props": { + "children": undefined, + }, + "type": "hr", + }, + { + "$$typeof": Symbol(react.transitional.element), + "_owner": null, + "_store": {}, + "key": "3", + "props": { + "children": "Paragraph", + }, + "type": "p", + }, + { + "$$typeof": Symbol(react.transitional.element), + "_owner": null, + "_store": {}, + "key": "4", + "props": { + "children": undefined, + "src": "image.jpg", + }, + "type": "i
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636