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
feat: add support for node 16 #395
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #395 +/- ##
=======================================
Coverage 75.00% 75.00%
=======================================
Files 3 3
Lines 96 96
Branches 22 22
=======================================
Hits 72 72
Misses 19 19
Partials 5 5 Continue to review full report at Codecov.
|
- Replaced node-sass with sass - Replaced extract-text-webpack-plugin with mini-css-extract-plugin - Upgraded edx/paragon - Transform svg file in jest to fix tests
338859c
to
26690a4
Compare
@@ -102,6 +102,10 @@ | |||
"jest": { | |||
"testEnvironment": "jest-environment-jsdom-global", | |||
"testURL": "http://localhost/", | |||
"transform": { | |||
"^.+\\.jsx?$": "babel-jest", | |||
"^.+\\.svg$": "./src/svgTransform.js" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Introduced this to fix tests, from here: https://stackoverflow.com/a/59062195
@@ -0,0 +1,9 @@ | |||
module.exports = { | |||
process() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe worth a comment here on why this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looking fine to me with the svg fix!
node-sass
withsass
extract-text-webpack-plugin
withmini-css-extract-plugin
edx/paragon
Ticket: BOM-3222