mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-20 19:06:06 +01:00
Update parse nfo metadata test for description
This commit is contained in:
parent
b4c14fc78d
commit
3d468339b3
@ -106,7 +106,7 @@ describe('parseNfoMetadata', () => {
|
|||||||
it('parses description', () => {
|
it('parses description', () => {
|
||||||
const nfoText = 'Book Description\n=========\nThis is a book.\n It\'s good'
|
const nfoText = 'Book Description\n=========\nThis is a book.\n It\'s good'
|
||||||
const result = parseNfoMetadata(nfoText)
|
const result = parseNfoMetadata(nfoText)
|
||||||
expect(result.description).to.equal('This is a book.\n It\'s good\n')
|
expect(result.description).to.equal('This is a book.\n It\'s good')
|
||||||
})
|
})
|
||||||
|
|
||||||
it('no value', () => {
|
it('no value', () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user