Skip to content

Commit

Permalink
revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
precious-onyenaucheya-ons committed Dec 5, 2024
1 parent a42b1ce commit 27bd708
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/description-list/_macro.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down

0 comments on commit 27bd708

Please sign in to comment.