From 19049c6e475388e85c65c1f9dec95e9bb52da61c Mon Sep 17 00:00:00 2001 From: SriHV Date: Wed, 4 Dec 2024 15:41:43 +0000 Subject: [PATCH] changes as per comments --- src/components/document-list/_macro.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/document-list/_macro.spec.js b/src/components/document-list/_macro.spec.js index 1bc7e17ce8..b7cbe1e2ef 100644 --- a/src/components/document-list/_macro.spec.js +++ b/src/components/document-list/_macro.spec.js @@ -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 }], @@ -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 }],