style: 任务执行页把基础导图移到计时区下方
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user