mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-20 05:02:37 +08:00
Temporary disable throws on warnings
This commit is contained in:
parent
483bb05a89
commit
f3f6ea8a82
@ -14,9 +14,9 @@ configure({ adapter: new Adapter() });
|
||||
free of warnings going forward.
|
||||
*/
|
||||
|
||||
const throwError = message => {
|
||||
/* const throwError = message => {
|
||||
throw new Error(message);
|
||||
};
|
||||
|
||||
global.console.error = throwError;
|
||||
global.console.warn = throwError;
|
||||
global.console.warn = throwError; */
|
||||
|
Loading…
x
Reference in New Issue
Block a user