Skip to content

Commit

Permalink
TEST: Converts multiple utterances (#27)
Browse files Browse the repository at this point in the history
closes #27
  • Loading branch information
dwhieb committed Oct 12, 2024
1 parent 4537f7c commit c2860b7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
10 changes: 9 additions & 1 deletion index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,15 @@ describe(`dlx2scription`, function() {

describe(`library`, function() {

it(`converts multiple utterances`)
it(`converts multiple utterances`, function() {

const { data } = fixtures.get(`multiple-utterances`)
const result = dlx2scription(data)
const expected = `ninakupenda\nI love you\n\nunanipenda\nyou love me`

expect(result).to.equal(expected)

})

})

Expand Down
5 changes: 5 additions & 0 deletions test/multiple-utterances.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ninakupenda
I love you

unanipenda
you love me

0 comments on commit c2860b7

Please # to comment.