fix(docs): [anchor] 修复测试用例报错

This commit is contained in:
chenxi 2024-11-07 02:48:41 -08:00 committed by ajaxzheng
parent 287d88445d
commit f0a85c4f00
1 changed files with 1 additions and 1 deletions

View File

@ -17,5 +17,5 @@ test('change事件', async ({ page }) => {
await link1.click()
await link2.click()
expect(values.length).toBe(3)
expect(values[0].startsWith('当前锚点#demonstrate')).toBeTruthy()
expect(values[0].startsWith('当前锚点')).toBeTruthy()
})