style: 任务执行页把基础导图移到计时区下方

This commit is contained in:
2026-10-10 17:10:03 +08:00
parent 5ef2bbdbd4
commit 1c9a623780
2 changed files with 51 additions and 40 deletions
@@ -348,6 +348,17 @@ describe('StartTask.vue', () => {
wrapper.unmount()
})
it('闭环-05:倒计时在基础导图之上', async () => {
const wrapper = await mountTask()
const html = wrapper.html()
expect(html).toContain('timer-card')
expect(html).toContain('mindmap-card')
expect(html.indexOf('timer-card')).toBeLessThan(html.indexOf('mindmap-card'))
wrapper.unmount()
})
it('闭环-05:没有导图时可用任务名作为根节点新建', async () => {
vi.mocked(getStandardMindMap).mockResolvedValue({ code: 200, data: null } as any)
const wrapper = await mountTask()