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
Update to PostCSS 8 #5304
Update to PostCSS 8 #5304
Conversation
Here's how we can temporarily silence plugin warnings in Jest: const originalWarn = console.warn.bind(console.warn);
beforeAll(() => {
console.warn = (message?, ...optionalParams) => {
if (message.toString().includes('postcss.plugin was deprecated. Migration guide')) {
return;
}
originalWarn(message, ...optionalParams);
};
});
afterAll(() => {
console.warn = originalWarn;
}); We probably could put it js-file for |
Sounds good. It'll clean up the output while we work on fixing the failing tests. Do you want to push a commit to this branch for it? |
This code doesn't work ¯\_(ツ)_/¯ Neither in https://krasimirtsonev.com/blog/article/jest-mock-console-methods this method also doesn't work. We could temporarily use https://www.npmjs.com/package/patch-package to remove this warning from PostCSS. |
f835323
to
a3a333d
Compare
# Conflicts: # lib/utils/isCustomPropertySet.js # lib/utils/isStandardSyntaxRule.js
I believe this is now ready for review. |
Closes #4942
Closes #5276
This is the long-lived branch to be merged in
v14
.