MM-53250 Revert changes to target browser in Babel config (#23817)

* MM-53250 Change supported version of Safari to 15.x

* Update unit tests

* Revert changes made to unsupported browser page

* Rollback targetted browsers in Babel config

* Update snapshots
This commit is contained in:
Harrison Healey 2023-06-22 16:45:38 -04:00 committed by GitHub
parent 5a540ea23e
commit 8056be1d16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 13 deletions

View File

@ -5,10 +5,10 @@ const config = {
presets: [ presets: [
['@babel/preset-env', { ['@babel/preset-env', {
targets: { targets: {
chrome: 110, chrome: 66,
firefox: 102, firefox: 60,
edge: 110, edge: 42,
safari: 16, safari: 12,
}, },
corejs: 3, corejs: 3,
useBuiltIns: 'usage', useBuiltIns: 'usage',

View File

@ -2,7 +2,7 @@
exports[`component/create_team should match snapshot default 1`] = ` exports[`component/create_team should match snapshot default 1`] = `
<div> <div>
<Connect(Component) /> <Connect(_class) />
<BackButton <BackButton
url="/undefined/channels/undefined" url="/undefined/channels/undefined"
/> />

View File

@ -91,7 +91,7 @@ exports[`components/Root Routes Should mount public product routes 1`] = `
theme={Object {}} theme={Object {}}
> >
<Connect(ModalController) /> <Connect(ModalController) />
<Connect(Component) /> <Connect(_class) />
<Connect(SystemNotice) /> <Connect(SystemNotice) />
<GlobalHeader /> <GlobalHeader />
<CloudEffectsWrapper /> <CloudEffectsWrapper />

View File

@ -2,7 +2,7 @@
exports[`components/select_team/SelectTeam should match snapshot 1`] = ` exports[`components/select_team/SelectTeam should match snapshot 1`] = `
<div> <div>
<Connect(Component) /> <Connect(_class) />
<BackButton <BackButton
url="/" url="/"
/> />
@ -114,7 +114,7 @@ exports[`components/select_team/SelectTeam should match snapshot 1`] = `
exports[`components/select_team/SelectTeam should match snapshot, on create team restricted 1`] = ` exports[`components/select_team/SelectTeam should match snapshot, on create team restricted 1`] = `
<div> <div>
<Connect(Component) /> <Connect(_class) />
<BackButton <BackButton
url="/" url="/"
/> />
@ -198,7 +198,7 @@ exports[`components/select_team/SelectTeam should match snapshot, on create team
exports[`components/select_team/SelectTeam should match snapshot, on error 1`] = ` exports[`components/select_team/SelectTeam should match snapshot, on error 1`] = `
<div> <div>
<Connect(Component) /> <Connect(_class) />
<BackButton <BackButton
onClick={[Function]} onClick={[Function]}
url="/" url="/"
@ -287,7 +287,7 @@ exports[`components/select_team/SelectTeam should match snapshot, on error 1`] =
exports[`components/select_team/SelectTeam should match snapshot, on loading 1`] = ` exports[`components/select_team/SelectTeam should match snapshot, on loading 1`] = `
<div> <div>
<Connect(Component) /> <Connect(_class) />
<BackButton <BackButton
url="/" url="/"
/> />
@ -363,7 +363,7 @@ exports[`components/select_team/SelectTeam should match snapshot, on loading 1`]
exports[`components/select_team/SelectTeam should match snapshot, on no joinable team and is not system admin nor can create team 1`] = ` exports[`components/select_team/SelectTeam should match snapshot, on no joinable team and is not system admin nor can create team 1`] = `
<div> <div>
<Connect(Component) /> <Connect(_class) />
<BackButton <BackButton
url="/" url="/"
/> />
@ -496,7 +496,7 @@ exports[`components/select_team/SelectTeam should match snapshot, on no joinable
exports[`components/select_team/SelectTeam should match snapshot, on no joinable team and user is guest 1`] = ` exports[`components/select_team/SelectTeam should match snapshot, on no joinable team and user is guest 1`] = `
<div> <div>
<Connect(Component) /> <Connect(_class) />
<BackButton <BackButton
url="/" url="/"
/> />
@ -587,7 +587,7 @@ exports[`components/select_team/SelectTeam should match snapshot, on no joinable
exports[`components/select_team/SelectTeam should match snapshot, on no joinable team but can create team 1`] = ` exports[`components/select_team/SelectTeam should match snapshot, on no joinable team but can create team 1`] = `
<div> <div>
<Connect(Component) /> <Connect(_class) />
<BackButton <BackButton
url="/" url="/"
/> />