Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
[MM-34187] - Update React version to 17* (#10739)
Browse files Browse the repository at this point in the history
* [MM-34187] - Update React version to 17*

* bump jest adapter

* update snapshots

* Update tests

* PR comments

Co-authored-by: Nevyana Angelova <[email protected]>
  • Loading branch information
na and Nevyana Angelova authored Jul 21, 2022
1 parent 83627c3 commit 8ca0eee
Show file tree
Hide file tree
Showing 26 changed files with 235 additions and 437 deletions.
14 changes: 7 additions & 7 deletions .npm-upgrade.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,27 +46,27 @@
},
"react": {
"versions": "",
"reason": "MM-34187 - React updates are handled separately from regular dependencies."
"reason": "MM-45255 - React updates are handled separately from regular dependencies."
},
"@types/react": {
"versions": "",
"reason": "MM-34187 - React updates are handled separately from regular dependencies."
"reason": "MM-45255 - React updates are handled separately from regular dependencies."
},
"react-dom": {
"versions": "",
"reason": "MM-34187 - React updates are handled separately from regular dependencies."
"reason": "MM-45255 - React updates are handled separately from regular dependencies."
},
"@types/react-dom": {
"versions": "",
"reason": "MM-34187 - React updates are handled separately from regular dependencies."
"reason": "MM-45255 - React updates are handled separately from regular dependencies."
},
"react-is": {
"versions": "",
"reason": "MM-34187 - React updates are handled separately from regular dependencies."
"reason": "MM-45255 - React updates are handled separately from regular dependencies."
},
"@types/react-is": {
"versions": "",
"reason": "MM-34187 - React updates are handled separately from regular dependencies."
"reason": "MM-45255 - React updates are handled separately from regular dependencies."
},
"react-overlays": {
"versions": "",
Expand All @@ -82,7 +82,7 @@
},
"@hot-loader/react-dom": {
"versions": "",
"reason": "MM-34187 - React updates are handled separately from other dependencies."
"reason": "MM-45255 - React updates are handled separately from other dependencies."
},
"@types/marked": {
"versions": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ exports[`components/SearchableChannelList should match init snapshot 1`] = `
inputComponent={
Object {
"$$typeof": Symbol(react.forward_ref),
"displayName": "LocalizedInput",
"render": [Function],
}
}
Expand Down
4 changes: 0 additions & 4 deletions components/__snapshots__/textbox.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ exports[`components/TextBox should match snapshot with additional, optional prop
inputComponent={
Object {
"$$typeof": Symbol(react.forward_ref),
"displayName": "AutosizeTextarea",
"render": [Function],
}
}
Expand Down Expand Up @@ -122,7 +121,6 @@ exports[`components/TextBox should match snapshot with required props 1`] = `
inputComponent={
Object {
"$$typeof": Symbol(react.forward_ref),
"displayName": "AutosizeTextarea",
"render": [Function],
}
}
Expand Down Expand Up @@ -214,7 +212,6 @@ exports[`components/TextBox should throw error when new property is too long 1`]
inputComponent={
Object {
"$$typeof": Symbol(react.forward_ref),
"displayName": "AutosizeTextarea",
"render": [Function],
}
}
Expand Down Expand Up @@ -306,7 +303,6 @@ exports[`components/TextBox should throw error when value is too long 1`] = `
inputComponent={
Object {
"$$typeof": Symbol(react.forward_ref),
"displayName": "AutosizeTextarea",
"render": [Function],
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ exports[`components/admin_console/data_retention_settings/channel_list should ma
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(TeamFilterDropdown)",
"type": [Function],
},
"values": Object {
Expand Down Expand Up @@ -229,7 +228,6 @@ exports[`components/admin_console/data_retention_settings/channel_list should ma
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(TeamFilterDropdown)",
"type": [Function],
},
"values": Object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ exports[`admin_console/system_role_users should match snapshot 1`] = `
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(AddUsersToRoleModal)",
"type": [Function],
}
}
Expand Down Expand Up @@ -521,7 +520,6 @@ exports[`admin_console/system_role_users should match snapshot with readOnly tru
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(AddUsersToRoleModal)",
"type": [Function],
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ exports[`components/admin_console/system_users/list should match default snapsho
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(SystemUsersDropdown)",
"type": [Function],
},
]
Expand All @@ -45,7 +44,6 @@ exports[`components/admin_console/system_users/list should match default snapsho
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(UserListRowWithError)",
"type": [Function],
}
}
Expand Down Expand Up @@ -108,7 +106,6 @@ exports[`components/admin_console/system_users/list should match default snapsho
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(SystemUsersDropdown)",
"type": [Function],
},
]
Expand Down Expand Up @@ -229,7 +226,6 @@ exports[`components/admin_console/system_users/list should match default snapsho
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(UserListRowWithError)",
"type": [Function],
}
}
Expand Down Expand Up @@ -313,7 +309,6 @@ exports[`components/admin_console/system_users/list should match default snapsho
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(SystemUsersDropdown)",
"type": [Function],
},
]
Expand Down Expand Up @@ -459,7 +454,6 @@ exports[`components/admin_console/system_users/list should match default snapsho
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(UserListRowWithError)",
"type": [Function],
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ exports[`admin_console/team_channel_settings/channel/ChannelGroups should match
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(AddGroupsToChannelModal)",
"type": [Function],
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ exports[`admin_console/team_channel_settings/channel/ChannelMembers should match
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(ChannelInviteModal)",
"type": [Function],
}
}
Expand Down Expand Up @@ -358,7 +357,6 @@ exports[`admin_console/team_channel_settings/channel/ChannelMembers should match
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(ChannelInviteModal)",
"type": [Function],
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ exports[`admin_console/team_channel_settings/channel/ChannelList should match sn
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(TeamFilterDropdown)",
"type": [Function],
},
"values": Object {
Expand Down Expand Up @@ -317,7 +316,6 @@ exports[`admin_console/team_channel_settings/channel/ChannelList should match sn
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(TeamFilterDropdown)",
"type": [Function],
},
"values": Object {
Expand Down Expand Up @@ -925,7 +923,6 @@ exports[`admin_console/team_channel_settings/channel/ChannelList should match sn
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(TeamFilterDropdown)",
"type": [Function],
},
"values": Object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ exports[`admin_console/team_channel_settings/team/TeamGroups should match snapsh
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(AddGroupsToTeamModal)",
"type": [Function],
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ exports[`admin_console/team_channel_settings/team/TeamMembers should match snaps
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(AddUsersToTeamModal)",
"type": [Function],
}
}
Expand Down Expand Up @@ -335,7 +334,6 @@ exports[`admin_console/team_channel_settings/team/TeamMembers should match snaps
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(AddUsersToTeamModal)",
"type": [Function],
}
}
Expand Down
Loading

0 comments on commit 8ca0eee

Please sign in to comment.