indexedDBmock This indexedDBmock allows you to mock your indexedDB for testing You can use the indexedDBmock just like you are using the the indexedDB API, you only need to replace the window.indexedDB by window.indexedDBmock.