Make tests more readable

This commit is contained in:
Hongbo Wu
2022-11-15 13:17:26 +08:00
parent 03a11b310c
commit d10099226a
2 changed files with 8 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -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 Im working on reading, listening, and speaking all at once, sometimes I feel like Im just getting surface understanding. '
)
})
})