Remove the IndexedDB warning when running tests in jest

This commit is contained in:
Aria Minaei 2023-01-15 17:38:30 +01:00
parent 9ec9bed80e
commit edd89b972b

View file

@ -358,6 +358,7 @@ export class Studio {
// Check for support.
if (!('indexedDB' in window)) {
if (process.env.NODE_ENV !== 'test')
console.log("This browser doesn't support IndexedDB.")
return {