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
|
// crash in dev by default so it's more noticeable
|
||||||
if (throwInDev) {
|
if (throwInDev) {
|
||||||
throw err
|
throw err
|
||||||
} else {
|
} else if (!__TEST__) {
|
||||||
console.error(err)
|
console.error(err)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user