Commit 0421b80d by 张立顺

test: 补齐菜单同步 wx 环境

1 parent b6b9b12c
import { describe, it } from 'node:test'
import { describe, it, after } from 'node:test'
import assert from 'node:assert/strict'
import { setupWxMock } from './menuTestHelpers.mjs'
const globalRef = globalThis
const originalWx = globalRef.wx
describe('tabIndex menuSyncHelpers', async () => {
setupWxMock(globalRef)
after(() => {
globalRef.wx = originalWx
})
const { buildHomeMenuFingerprint, createMenuRebuildCoordinator } =
await import('../services/menuSyncHelpers.js')
const { getMenuFingerprint } = await import('../menu/context.js')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!