diff --git a/index.test.js b/index.test.js index f62261a..36b3cf7 100644 --- a/index.test.js +++ b/index.test.js @@ -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) + + }) }) diff --git a/test/multiple-utterances.txt b/test/multiple-utterances.txt new file mode 100644 index 0000000..8a778e5 --- /dev/null +++ b/test/multiple-utterances.txt @@ -0,0 +1,5 @@ +ninakupenda +I love you + +unanipenda +you love me \ No newline at end of file