mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Make tests more readable
This commit is contained in:
parent
03a11b310c
commit
d10099226a
2 changed files with 8 additions and 2 deletions
File diff suppressed because one or more lines are too long
|
|
@ -301,6 +301,12 @@ describe('convert HTML to Speech file', () => {
|
|||
options: TEST_OPTIONS,
|
||||
})
|
||||
|
||||
expect(speechFile.utterances).to.have.lengthOf(42)
|
||||
expect(speechFile.utterances).to.have.lengthOf(5)
|
||||
expect(speechFile.utterances[0].text).to.eql(
|
||||
'Just for curiosity, how do you pick the articles for Slow Chinese? Any advice on finding opportunities to communicate in Chinese? What are your tips to improve comprehension? '
|
||||
)
|
||||
expect(speechFile.utterances[1].text).to.eql(
|
||||
'I feel like I’m working on reading, listening, and speaking all at once, sometimes I feel like I’m just getting surface understanding. '
|
||||
)
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue