Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Dec 20, 2020
1 parent 49076d4 commit 2a76768
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/material-ui/src/RootRef/RootRef.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ class RootRef extends React.Component {
render() {
if (process.env.NODE_ENV !== 'production') {
if (!warnedOnce && process.env.INTERNAL !== 'true') {
warnedOnce = true;
console.warn(
[
'Material-UI: The RootRef component is deprecated.',
Expand Down
1 change: 1 addition & 0 deletions test/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ module.exports = function setKarmaConfig(config) {
'process.env': {
NODE_ENV: JSON.stringify('test'),
CI: JSON.stringify(process.env.CI),
INTERNAL: JSON.stringify(process.env.INTERNAL),
},
}),
],
Expand Down

0 comments on commit 2a76768

Please sign in to comment.