diff --git a/__snapshots__/layout/_template.spec.js.snap b/__snapshots__/layout/_template.spec.js.snap index 29380095bf..bc80c256e6 100644 --- a/__snapshots__/layout/_template.spec.js.snap +++ b/__snapshots__/layout/_template.spec.js.snap @@ -1399,10 +1399,6 @@ exports[`base page template matches the full configuration snapshot 1`] = ` - - - - @@ -1411,7 +1407,12 @@ exports[`base page template matches the full configuration snapshot 1`] = ` -
element', () => { - expect($('.ons-list')[0].tagName).toBe('p'); + it('renders the list as a
element', () => { + expect($('.ons-list__item')[0].tagName).toBe('p'); + }); + + it('the list has `ons-list--p` modifier class', () => { expect($('.ons-list').hasClass('ons-list--p')).toBe(true); }); @@ -206,14 +210,14 @@ describe('macro: list', () => { expect($('.ons-list li').length).toBe(0); }); - it('has additionally provided list `attributes`', () => { + it('has additionally provided list `attributes` on the
', () => { + expect($('.ons-list--p > .ons-list__item').attr('c')).toBe('789'); + expect($('.ons-list--p > .ons-list__item').attr('d')).toBe('123'); }); });