chore: do not log warned error during tests
This commit is contained in:
parent
dd40ad8fca
commit
df954dc90f
@ -153,7 +153,7 @@ function logError(
|
||||
// crash in dev by default so it's more noticeable
|
||||
if (throwInDev) {
|
||||
throw err
|
||||
} else {
|
||||
} else if (!__TEST__) {
|
||||
console.error(err)
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user