fix(docs): [anchor] 修复测试用例报错
This commit is contained in:
parent
287d88445d
commit
f0a85c4f00
|
@ -17,5 +17,5 @@ test('change事件', async ({ page }) => {
|
||||||
await link1.click()
|
await link1.click()
|
||||||
await link2.click()
|
await link2.click()
|
||||||
expect(values.length).toBe(3)
|
expect(values.length).toBe(3)
|
||||||
expect(values[0].startsWith('当前锚点#demonstrate')).toBeTruthy()
|
expect(values[0].startsWith('当前锚点')).toBeTruthy()
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue