diff --git a/src/components/description-list/_macro.spec.js b/src/components/description-list/_macro.spec.js index 33ea4e3502..fa45111ceb 100644 --- a/src/components/description-list/_macro.spec.js +++ b/src/components/description-list/_macro.spec.js @@ -127,22 +127,22 @@ describe('macro: description-list', () => { const $listElements = $('.ons-description-list__term, .ons-description-list__value'); expect($listElements[0].tagName).toBe('dt'); - expect($($listElements[0]).text().trim()).toBe('Survey:'); + expect($($listElements[0]).text()).toBe('Survey:'); expect($listElements[1].tagName).toBe('dd'); expect($($listElements[1]).attr('id')).toBe('description-1'); - expect($($listElements[1]).text().trim()).toBe('Bricks & Blocks'); + expect($($listElements[1]).text()).toBe('Bricks & Blocks'); expect($listElements[2].tagName).toBe('dt'); - expect($($listElements[2]).text().trim()).toBe('RU Refs:'); + expect($($listElements[2]).text()).toBe('RU Refs:'); expect($listElements[3].tagName).toBe('dd'); expect($($listElements[3]).attr('id')).toBe('description-2'); - expect($($listElements[3]).text().trim()).toBe('49900000118'); + expect($($listElements[3]).text()).toBe('49900000118'); expect($listElements[4].tagName).toBe('dd'); expect($($listElements[4]).attr('id')).toBe('description-3'); - expect($($listElements[4]).text().trim()).toBe('49300005832'); + expect($($listElements[4]).text()).toBe('49300005832'); }); it.each([