Skip to content

Commit

Permalink
fix tests, upgrade babel, upgrade browser-core (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
trickpattyFH20 authored and jsignanini committed Dec 10, 2018
1 parent d86ee71 commit 3fe3527
Show file tree
Hide file tree
Showing 11 changed files with 1,211 additions and 1,176 deletions.
8 changes: 4 additions & 4 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"presets": ["react"],
"presets": ["@babel/preset-react"],
"plugins": [
"transform-class-properties",
"transform-object-rest-spread"
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread"
],
"env": {
"test": {
"plugins": ["transform-es2015-modules-commonjs"]
"plugins": ["@babel/plugin-transform-modules-commonjs"]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ exports[`app/hub/Views/CreateAccount component Snapshot tests with react-test-re
className="CreateAccountView__link"
href="/log-in"
onClick={[Function]}
style={undefined}
>
hub_create_account_link_login
</a>
Expand Down Expand Up @@ -382,7 +381,6 @@ exports[`app/hub/Views/CreateAccount component Snapshot tests with react-test-re
className="CreateAccountView__link"
href="/log-in"
onClick={[Function]}
style={undefined}
>
hub_create_account_link_login
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,8 @@ exports[`app/hub/Views/HomeView component Snapshot tests with react-test-rendere
</div>
<a
aria-current={null}
className={undefined}
href="/create-account"
onClick={[Function]}
style={undefined}
>
hub_home_subheader_create_account
</a>
Expand Down Expand Up @@ -104,7 +102,6 @@ exports[`app/hub/Views/HomeView component Snapshot tests with react-test-rendere
className="HomeView__featureButton button primary"
href="/tutorial"
onClick={[Function]}
style={undefined}
>
hub_home_feature_tutorial_button
</a>
Expand Down Expand Up @@ -136,7 +133,6 @@ exports[`app/hub/Views/HomeView component Snapshot tests with react-test-rendere
className="HomeView__featureButton button primary"
href="/setup"
onClick={[Function]}
style={undefined}
>
hub_home_feature_setup_button
</a>
Expand Down Expand Up @@ -164,7 +160,6 @@ exports[`app/hub/Views/HomeView component Snapshot tests with react-test-rendere
className="HomeView__featureButton button primary"
href="/plus"
onClick={[Function]}
style={undefined}
>
hub_home_feature_supporter_button
</a>
Expand Down Expand Up @@ -281,7 +276,6 @@ exports[`app/hub/Views/HomeView component Snapshot tests with react-test-rendere
className="HomeView__featureButton button primary hollow"
href="/tutorial"
onClick={[Function]}
style={undefined}
>
hub_home_feature_tutorial_button_alt
</a>
Expand Down Expand Up @@ -313,7 +307,6 @@ exports[`app/hub/Views/HomeView component Snapshot tests with react-test-rendere
className="HomeView__featureButton button primary hollow"
href="/setup"
onClick={[Function]}
style={undefined}
>
hub_home_feature_setup_button_alt
</a>
Expand Down Expand Up @@ -341,7 +334,6 @@ exports[`app/hub/Views/HomeView component Snapshot tests with react-test-rendere
className="HomeView__featureButton button primary"
href="/plus"
onClick={[Function]}
style={undefined}
>
hub_home_feature_supporter_button_alt
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ exports[`app/hub/Views/LogIn component Snapshot tests with react-test-renderer l
className="LogInView__link text-center"
href="/create-account"
onClick={[Function]}
style={undefined}
>
hub_login_link_create_account
</a>
Expand Down Expand Up @@ -173,7 +172,6 @@ exports[`app/hub/Views/LogIn component Snapshot tests with react-test-renderer l
className="LogInView__link text-center"
href="/create-account"
onClick={[Function]}
style={undefined}
>
hub_login_link_create_account
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ exports[`app/hub/Views/SetupViews/SetupDoneView component Snapshot tests with re
className="SetupDone__featureButton button primary"
href="/feature/1"
onClick={[Function]}
style={undefined}
>
feature 1 button text
</a>
Expand Down Expand Up @@ -79,7 +78,6 @@ exports[`app/hub/Views/SetupViews/SetupDoneView component Snapshot tests with re
className="SetupDone__featureButton button primary"
href="/feature/2"
onClick={[Function]}
style={undefined}
>
feature 2 button text
</a>
Expand Down Expand Up @@ -108,7 +106,6 @@ exports[`app/hub/Views/SetupViews/SetupDoneView component Snapshot tests with re
className="SetupDone__featureButton button primary"
href="/feature/3"
onClick={[Function]}
style={undefined}
>
feature 3 button text
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ exports[`app/hub/Views/SideNavigationView component Snapshot tests with react-te
className="flex-container align-middle"
href="/setup"
onClick={[Function]}
style={undefined}
>
<div
className="SideNavigation__menuIcon setup"
Expand All @@ -82,7 +81,6 @@ exports[`app/hub/Views/SideNavigationView component Snapshot tests with react-te
className="flex-container align-middle"
href="/tutorial"
onClick={[Function]}
style={undefined}
>
<div
className="SideNavigation__menuIcon tutorial"
Expand All @@ -102,7 +100,6 @@ exports[`app/hub/Views/SideNavigationView component Snapshot tests with react-te
className="flex-container align-middle"
href="/plus"
onClick={[Function]}
style={undefined}
>
<div
className="SideNavigation__menuIcon plus"
Expand All @@ -122,7 +119,6 @@ exports[`app/hub/Views/SideNavigationView component Snapshot tests with react-te
className="flex-container align-middle"
href="/rewards"
onClick={[Function]}
style={undefined}
>
<div
className="SideNavigation__menuIcon rewards"
Expand All @@ -142,7 +138,6 @@ exports[`app/hub/Views/SideNavigationView component Snapshot tests with react-te
className="flex-container align-middle"
href="/products"
onClick={[Function]}
style={undefined}
>
<div
className="SideNavigation__menuIcon products"
Expand All @@ -166,7 +161,6 @@ exports[`app/hub/Views/SideNavigationView component Snapshot tests with react-te
className=""
href="/create-account"
onClick={[Function]}
style={undefined}
>
<p
className="SideNavigation__bottomText"
Expand All @@ -183,7 +177,6 @@ exports[`app/hub/Views/SideNavigationView component Snapshot tests with react-te
className=""
href="/log-in"
onClick={[Function]}
style={undefined}
>
<p
className="SideNavigation__bottomText"
Expand Down Expand Up @@ -268,7 +261,6 @@ exports[`app/hub/Views/SideNavigationView component Snapshot tests with react-te
className="flex-container align-middle disabled"
href="/setup"
onClick={[Function]}
style={undefined}
>
<div
className="SideNavigation__menuIcon setup"
Expand All @@ -288,7 +280,6 @@ exports[`app/hub/Views/SideNavigationView component Snapshot tests with react-te
className="flex-container align-middle disabled"
href="/tutorial"
onClick={[Function]}
style={undefined}
>
<div
className="SideNavigation__menuIcon tutorial"
Expand All @@ -308,7 +299,6 @@ exports[`app/hub/Views/SideNavigationView component Snapshot tests with react-te
className="flex-container align-middle disabled"
href="/plus"
onClick={[Function]}
style={undefined}
>
<div
className="SideNavigation__menuIcon plus"
Expand All @@ -328,7 +318,6 @@ exports[`app/hub/Views/SideNavigationView component Snapshot tests with react-te
className="flex-container align-middle disabled"
href="/rewards"
onClick={[Function]}
style={undefined}
>
<div
className="SideNavigation__menuIcon rewards"
Expand All @@ -348,7 +337,6 @@ exports[`app/hub/Views/SideNavigationView component Snapshot tests with react-te
className="flex-container align-middle disabled"
href="/products"
onClick={[Function]}
style={undefined}
>
<div
className="SideNavigation__menuIcon products"
Expand All @@ -372,7 +360,6 @@ exports[`app/hub/Views/SideNavigationView component Snapshot tests with react-te
className="disabled"
href="/create-account"
onClick={[Function]}
style={undefined}
>
<p
className="SideNavigation__bottomText"
Expand All @@ -389,7 +376,6 @@ exports[`app/hub/Views/SideNavigationView component Snapshot tests with react-te
className="disabled"
href="/log-in"
onClick={[Function]}
style={undefined}
>
<p
className="SideNavigation__bottomText"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ exports[`app/shared-components/ExitButton More Snapshot tests with react-test-re
className="ExitButton__exit flex-container align-middle"
href="/test"
onClick={[Function]}
style={undefined}
>
<span
Expand All @@ -21,7 +20,6 @@ exports[`app/shared-components/ExitButton More Snapshot tests with react-test-re
className="ExitButton__exit flex-container align-middle"
href="/example"
onClick={[Function]}
style={undefined}
>
<span
className="ExitButton__exitIcon"
Expand Down
Loading

0 comments on commit 3fe3527

Please sign in to comment.