Remove the IndexedDB warning when running tests in jest
This commit is contained in:
parent
9ec9bed80e
commit
edd89b972b
1 changed files with 2 additions and 1 deletions
|
@ -358,6 +358,7 @@ export class Studio {
|
||||||
|
|
||||||
// Check for support.
|
// Check for support.
|
||||||
if (!('indexedDB' in window)) {
|
if (!('indexedDB' in window)) {
|
||||||
|
if (process.env.NODE_ENV !== 'test')
|
||||||
console.log("This browser doesn't support IndexedDB.")
|
console.log("This browser doesn't support IndexedDB.")
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in a new issue