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

View File

@@ -1,9 +1,10 @@
import { acceptHMRUpdate, defineStore } from 'pinia'
import { useStorage } from '@vueuse/core'
import { computed, ref } from 'vue'
import { computed, onMounted, ref, watch } from 'vue'
import { useGtm } from '@gtm-support/vue-gtm'
import type { RecipeItem } from 'types'
import type { StuffItem } from '../../data/food'
import { db } from '../../utils/db'
const namespace = 'cook'