Skip to content
This repository has been archived by the owner on Jan 16, 2022. It is now read-only.

Commit

Permalink
fix: engine warning on console for ui (#403)
Browse files Browse the repository at this point in the history
* fix: engine warning on console for ui

* chore: update snapshots

* chore: remove u flag

* chore: add readme note

* chore: update README.md

Co-Authored-By: Daniel Ruf <[email protected]>

Co-authored-by: Daniel Ruf <[email protected]>
  • Loading branch information
juanpicado and DanielRuf authored Dec 30, 2019
1 parent 787dda4 commit d554049
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

## Contributing

We use `>[email protected]`, keep on mind we use lock file.
We use `>[email protected]`, keep in mind that we use lockfiles and use at least Node `v10.13.0` to be able to build the project.

For development run the following command, it will execute `webpack` and `verdaccio` to

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
"dev": "concurrently --kill-others \"npm run dev:web\" \"npm run verdaccio:server\""
},
"engines": {
"node": ">= 10.13.0",
"node": ">= 8",
"npm": ">=5"
},
"husky": {
Expand Down
12 changes: 10 additions & 2 deletions src/App/__snapshots__/App.test.tsx.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`<App /> should display the Header component 1`] = `
.emotion-10 {
background-color: #fff;
}
.emotion-8 {
-webkit-transform: translate(-50%,-50%);
-ms-transform: translate(-50%,-50%);
Expand Down Expand Up @@ -49,7 +53,7 @@ exports[`<App /> should display the Header component 1`] = `
}
<div
class="MuiBox-root MuiBox-root-219"
class="MuiBox-root MuiBox-root-219 emotion-10 emotion-11"
>
<div
class="emotion-8 emotion-9"
Expand Down Expand Up @@ -90,6 +94,10 @@ exports[`<App /> should display the Header component 1`] = `
`;

exports[`<App /> should display the Loading component at the beginning 1`] = `
.emotion-10 {
background-color: #fff;
}
.emotion-8 {
-webkit-transform: translate(-50%,-50%);
-ms-transform: translate(-50%,-50%);
Expand Down Expand Up @@ -138,7 +146,7 @@ exports[`<App /> should display the Loading component at the beginning 1`] = `
}
<div
class="MuiBox-root MuiBox-root-2"
class="MuiBox-root MuiBox-root-2 emotion-10 emotion-11"
>
<div
class="emotion-8 emotion-9"
Expand Down
4 changes: 4 additions & 0 deletions src/components/Install/__snapshots__/Install.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ exports[`<Install /> renders correctly 1`] = `
padding: 0;
}
.emotion-2 img {
background-color: transparent;
}
.emotion-10 {
padding: 0 10px;
margin: 0;
Expand Down
2 changes: 1 addition & 1 deletion src/components/UpLinks/__snapshots__/UpLinks.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

exports[`<UpLinks /> component should render the component when there is no uplink 1`] = `"<h6 class=\\"MuiTypography-root MuiTypography-subtitle1 MuiTypography-gutterBottom\\">verdaccio has no uplinks.</h6>"`;
exports[`<UpLinks /> component should render the component with uplinks 1`] = `"<h6 class=\\"MuiTypography-root css-5wp24z-StyledText e14i1sy10 MuiTypography-subtitle1\\">Uplinks</h6><ul class=\\"MuiList-root MuiList-padding\\"><li class=\\"MuiListItem-root MuiListItem-gutters\\"><div class=\\"MuiListItemText-root css-1pxn9ma-ListItemText e14i1sy12\\"><span class=\\"MuiTypography-root MuiListItemText-primary MuiTypography-body1\\">npmjs</span></div><div class=\\"css-t1rp47-Spacer e14i1sy11\\"></div><div class=\\"MuiListItemText-root css-1pxn9ma-ListItemText e14i1sy12\\"><span class=\\"MuiTypography-root MuiListItemText-primary MuiTypography-body1\\">a year ago</span></div></li></ul>"`;
exports[`<UpLinks /> component should render the component with uplinks 1`] = `"<h6 class=\\"MuiTypography-root css-5wp24z-StyledText e14i1sy10 MuiTypography-subtitle1\\">Uplinks</h6><ul class=\\"MuiList-root MuiList-padding\\"><li class=\\"MuiListItem-root MuiListItem-gutters\\"><div class=\\"MuiListItemText-root css-1pxn9ma-ListItemText e14i1sy12\\"><span class=\\"MuiTypography-root MuiListItemText-primary MuiTypography-body1\\">npmjs</span></div><div class=\\"css-t1rp47-Spacer e14i1sy11\\"></div><div class=\\"MuiListItemText-root css-1pxn9ma-ListItemText e14i1sy12\\"><span class=\\"MuiTypography-root MuiListItemText-primary MuiTypography-body1\\">2 years ago</span></div></li></ul>"`;

0 comments on commit d554049

Please sign in to comment.