1
0
mirror of synced 2026-03-22 12:44:39 +08:00

fix(test): fake indexedDB

This commit is contained in:
YunYouJun
2023-07-30 18:44:40 +08:00
parent fffd6e398c
commit 9cb0ca3c44
5 changed files with 71 additions and 1 deletions

3
test/setup.ts Normal file
View File

@@ -0,0 +1,3 @@
import indexeddb from 'fake-indexeddb'
globalThis.indexedDB = indexeddb