@@ -172,6 +172,14 @@ afterEach(() => {
|
||||
})
|
||||
|
||||
describe('首页搜索与地图闭环', () => {
|
||||
it('同步首页标签时保留内嵌宿主参数', async () => {
|
||||
window.location.hash = '#/pages/index/index?tab=guide&embedded=wechat-mini-program'
|
||||
|
||||
await mountIndex()
|
||||
|
||||
expect(window.location.hash).toBe('#/pages/index/index?tab=guide&embedded=wechat-mini-program')
|
||||
})
|
||||
|
||||
it('首页暂不展示来馆入口及其到馆面板', async () => {
|
||||
const wrapper = await mountIndex()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user