From b2b1a953e27589d53a16c9555485ca566032748e Mon Sep 17 00:00:00 2001 From: Richard McCarthy Date: Fri, 8 Nov 2024 21:33:02 +0000 Subject: [PATCH] update param name --- src/components/accordion/_macro.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/accordion/_macro.spec.js b/src/components/accordion/_macro.spec.js index 432d9a9b2d..f038c690f1 100644 --- a/src/components/accordion/_macro.spec.js +++ b/src/components/accordion/_macro.spec.js @@ -63,7 +63,7 @@ describe('FOR: Macro: Accordion', () => { expect(titleText).toBe('Title for item 1'); }); }); - describe('WHEN: titleTag is not provided', () => { + describe('WHEN: headingLevel is not provided', () => { const $ = cheerio.load( renderComponent('accordion', { itemsList: [ @@ -79,7 +79,7 @@ describe('FOR: Macro: Accordion', () => { expect(titleTag).toBe('h2'); }); }); - describe('WHEN: titleTag is provided', () => { + describe('WHEN: headingLevel is provided', () => { const $ = cheerio.load( renderComponent('accordion', { itemsList: [