sinProject-Inc/talk

View on GitHub
src/lib/text/texts_api.test_.ts

Summary

Maintainability
A
0 mins
Test Coverage
// import { SpeechLanguageCode } from '$lib/speech/speech_language_code'
// import { expect, it } from 'vitest'
// import { TextsApi } from './texts_api'

// it('Fetch 5 texts', async () => {
//     const speech_language_code = SpeechLanguageCode.create('en')
//     const texts = await new TextsApi(speech_language_code, 5).fetch()

//     expect(texts).toHaveLength(5)
// })