Skip to content

Commit

Permalink
changes as per comments
Browse files Browse the repository at this point in the history
  • Loading branch information
SriHV committed Dec 4, 2024
1 parent 524b843 commit 19049c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/document-list/_macro.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ describe('FOR: Macro: Document list', () => {

describe('GIVEN: Params: featured', () => {
describe('WHEN: featured is set for a document', () => {
test('THEN: has the ons-document-list__item--featured class', () => {
test('THEN: applies the featured class to the document item', () => {
const $ = cheerio.load(
renderComponent('document-list', {
documents: [{ ...EXAMPLE_DOCUMENT_LIST_BASIC, featured: true }],
Expand Down Expand Up @@ -144,7 +144,7 @@ describe('FOR: Macro: Document list', () => {

describe('GIVEN: Params: showMetadataFirst', () => {
describe('WHEN: showMetadataFirst is set for a document', () => {
test('THEN: has the document-list__item-header--reverse class', () => {
test('THEN: applies the reverse class to document header', () => {
const $ = cheerio.load(
renderComponent('document-list', {
documents: [{ ...EXAMPLE_DOCUMENT_LIST_BASIC, showMetadataFirst: true }],
Expand Down

0 comments on commit 19049c6

Please sign in to comment.