message: omit console.error watching I added - mui still warns from internal mui Toolbar
diff: @@ -4,23 +4,24 @@ const EnzymeAdapter = require('enzyme-adapter-react-16');
  // Setup enzyme's react adapter
  Enzyme.configure({ adapter: new EnzymeAdapter() });
  +// NOTE cannot use at this time due to mui deprecation messages in Toolbar
  // Convert any console error into a thrown error
  -const error = console.error
  -console.error = (...args) => {
  - error.apply(console, args)
  - if (args[0] instanceof Error) {
  - throw args[0]
  - } else {
  - // combine multi args into a string
  - const message = args
  - .map(value => {
  - if (typeof value === 'object') {
  - return JSON.stringify(value)
  - } else {
  - return value
  - }
  - })
  - .join(' ')
  - throw new Error(message)
  - }
  -}
  +//const error = console.error
  +//console.error = (...args) => {
  +// error.apply(console, args)
  +// if (args[0] instanceof Error) {
  +// throw args[0]
  +// } else {
  +// // combine multi args into a string
  +// const message = args
  +// .map(value => {
  +// if (typeof value === 'object') {
  +// return JSON.stringify(value)
  +// } else {
  +// return value
  +// }
  +// })
  +// .join(' ')
  +// throw new Error(message)
  +// }
  +//}
  