Skip to content

Commit b1bb5fd

Browse files
committed
test: 🧪 wip testing parameters
1 parent 4df1a78 commit b1bb5fd

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/lib/components/anchor-fm.test.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,15 @@ describe('AnchorFm', () => {
1515
const { container } = render(AnchorFm)
1616
expect(container).toBeTruthy()
1717
})
18+
19+
it.skip('has episode url', async () => {
20+
const { container } = render(AnchorFm, {
21+
episodeUrl:
22+
'purrfect-dev/embed/episodes/1-31---Delivering-Digital-Content-with-GraphCMS-e14g55c/a-a650v9a',
23+
})
24+
25+
expect(container.querySelectorAll('h2')).toBe(
26+
'1.31 - Delivering Digital Content with GraphCMS'
27+
)
28+
})
1829
})

0 commit comments

Comments
 (0)