chore: typo

pull/3237/head
Anthony Fu 2 years ago
parent 3f11794390
commit f8e0cce590

@ -219,7 +219,7 @@ describe('Code Groups', () => {
expect(await blocks.nth(0).locator('code > span').count()).toBe(11) expect(await blocks.nth(0).locator('code > span').count()).toBe(11)
expect(await getClassList(blocks.nth(1))).toContain('line-numbers-mode') expect(await getClassList(blocks.nth(1))).toContain('line-numbers-mode')
expect(await getClassList(blocks.nth(1))).toContain('language-ts') expect(await getClassList(blocks.nth(1))).toContain('language-ts')
expect(await blocks.nth(1).locator('code > span').count()).toBe(1) expect(await blocks.nth(1).locator('code > span').count()).toBe(3)
expect( expect(
await getClassList(blocks.nth(1).locator('code > span').nth(0)) await getClassList(blocks.nth(1).locator('code > span').nth(0))
).toContain('highlighted') ).toContain('highlighted')

Loading…
Cancel
Save