Skip to content

Passing All the Test inside Docker. #3353

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,20 @@
}
]
]
},
"test": {
"presets": [
"@babel/preset-env",
[
"@babel/preset-react",
{
"runtime": "automatic"
}
]
],
"plugins": [
"babel-plugin-styled-components"
]
}
},
"plugins": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ exports[`Nav renders dashboard version for mobile 1`] = `
-ms-flex-direction: column;
flex-direction: column;
gap: 0.16666666666666666rem;
box-shadow: rgba(60,64,67,0.3) 0px 1px 2px 0px, rgba(60,64,67,0.15) 0px 1px 3px 1px;
box-shadow: rgba(60,64,67,0.3) 0px 1px 2px 0px,rgba(60,64,67,0.15) 0px 1px 3px 1px;
min-width: 10rem;
border-radius: 0.16666666666666666rem;
}
Expand Down Expand Up @@ -324,7 +324,7 @@ exports[`Nav renders dashboard version for mobile 1`] = `
>
<test-file-stub
aria-hidden="true"
classname="sc-fujyAs cSTVlM"
classname="icons__StyledIcon-sc-xmer15-0 dStXqm"
focusable="false"
/>
</button>
Expand All @@ -340,7 +340,7 @@ exports[`Nav renders dashboard version for mobile 1`] = `
>
<test-file-stub
aria-hidden="true"
classname="sc-iqAclL iOZiVo"
classname="icons__StyledIcon-sc-xmer15-0 dStXqm"
focusable="false"
/>
</button>
Expand Down Expand Up @@ -912,7 +912,7 @@ exports[`Nav renders editor version for mobile 1`] = `
-ms-flex-direction: column;
flex-direction: column;
gap: 0.16666666666666666rem;
box-shadow: rgba(60,64,67,0.3) 0px 1px 2px 0px, rgba(60,64,67,0.15) 0px 1px 3px 1px;
box-shadow: rgba(60,64,67,0.3) 0px 1px 2px 0px,rgba(60,64,67,0.15) 0px 1px 3px 1px;
min-width: 10rem;
border-radius: 0.16666666666666666rem;
}
Expand Down Expand Up @@ -1025,7 +1025,7 @@ exports[`Nav renders editor version for mobile 1`] = `
>
<test-file-stub
aria-hidden="true"
classname="sc-fujyAs cSTVlM"
classname="icons__StyledIcon-sc-xmer15-0 dStXqm"
focusable="false"
/>
</button>
Expand All @@ -1041,7 +1041,7 @@ exports[`Nav renders editor version for mobile 1`] = `
>
<test-file-stub
aria-hidden="true"
classname="sc-iqAclL iOZiVo"
classname="icons__StyledIcon-sc-xmer15-0 dStXqm"
focusable="false"
/>
</button>
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"build:client": "cross-env NODE_ENV=production webpack --config webpack/config.prod.js",
"build:server": "cross-env NODE_ENV=production webpack --config webpack/config.server.js",
"build:examples": "cross-env NODE_ENV=production webpack --config webpack/config.examples.js",
"test": "jest",
"test": "NODE_ENV=test jest",
"test:ci": "npm run lint && npm run test",
"fetch-examples": "cross-env NODE_ENV=development node ./server/scripts/fetch-examples.js",
"fetch-examples-gg": "cross-env NODE_ENV=development node ./server/scripts/fetch-examples-gg.js",
Expand Down Expand Up @@ -111,7 +111,9 @@
"@testing-library/jest-dom": "^5.15.0",
"@testing-library/react": "^12.1.2",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^29.7.0",
"babel-loader": "^8.2.5",
"babel-plugin-styled-components": "^2.1.4",
"babel-plugin-transform-react-remove-prop-types": "^0.2.12",
"css-loader": "^5.2.7",
"css-minimizer-webpack-plugin": "^3.4.1",
Expand Down