test: don't log console errors when SHOULD_LOG_ERRORS is false
This commit is contained in:
@@ -1 +1,3 @@
|
||||
console.error = () => {};
|
||||
if (process.env.SHOULD_LOG_ERRORS === "false") {
|
||||
console.error = () => {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user