mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-29 17:43:05 +00:00
style(C171-F1): prettier no spec do player (Related #1052)
This commit is contained in:
parent
9934f902f2
commit
1dc84c5b7a
1 changed files with 2 additions and 3 deletions
|
|
@ -433,9 +433,8 @@ describe('SpeechDetailPlayer — C171-F1 keeps the transcript point across the s
|
||||||
const segmentButton = (seconds: number) =>
|
const segmentButton = (seconds: number) =>
|
||||||
document.querySelector(`button[data-start-seconds="${seconds}"]`) as HTMLButtonElement
|
document.querySelector(`button[data-start-seconds="${seconds}"]`) as HTMLButtonElement
|
||||||
|
|
||||||
const renderYoutubePlayer = (
|
const renderYoutubePlayer = (overrides: Partial<Parameters<typeof SpeechDetailPlayer>[0]> = {}) =>
|
||||||
overrides: Partial<Parameters<typeof SpeechDetailPlayer>[0]> = {},
|
renderPlayer({ youtubeVideoId: 'lLhRDkSPw0A', youtubeOffsetSeconds: 2634, ...overrides })
|
||||||
) => renderPlayer({ youtubeVideoId: 'lLhRDkSPw0A', youtubeOffsetSeconds: 2634, ...overrides })
|
|
||||||
|
|
||||||
const verifyDownloadFirst = async () => {
|
const verifyDownloadFirst = async () => {
|
||||||
const tab = { location: { href: '' }, close: vi.fn() }
|
const tab = { location: { href: '' }, close: vi.fn() }
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue