Initial commit: gmTouringMiniApp project

This commit is contained in:
周瑞哲
2026-07-30 16:04:34 +08:00
commit ebcae02d35
201 changed files with 49545 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
import { vi } from 'vitest'
import { unref } from 'vue'
const uniMock = {
getStorageSync: vi.fn(),
getSystemInfoSync: vi.fn(() => ({ uniPlatform: 'mp-weixin' })),
setStorage: vi.fn(),
showToast: vi.fn(),
}
vi.stubGlobal('uni', uniMock)
vi.stubGlobal('unref', unref)