From c68cd42e81ecad44c0b2457e71e89ad23437e2ce Mon Sep 17 00:00:00 2001 From: Precious Onyenaucheya Date: Mon, 23 Sep 2024 11:23:29 +0100 Subject: [PATCH] rephrase test name --- src/components/address-input/_macro.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/address-input/_macro.spec.js b/src/components/address-input/_macro.spec.js index 779bfccdfb..015ff0a52c 100644 --- a/src/components/address-input/_macro.spec.js +++ b/src/components/address-input/_macro.spec.js @@ -336,7 +336,7 @@ describe('FOR: Macro: Address-input', () => { }); }); - describe('WHEN: a value for manualLink is provided', () => { + describe('WHEN: a value for manualLink and manualLinkText is provided', () => { const $ = cheerio.load( renderComponent('address-input', { ...EXAMPLE_AUTOSUGGEST_ADDRESS_MINIMAL, @@ -345,7 +345,7 @@ describe('FOR: Macro: Address-input', () => { }), ); - test('THEN: it renders the manual link with the provided text and url', () => { + test('THEN: it renders the manualLink with the provided text and url', () => { expect($('.ons-js-address-manual-btn').attr('href')).toBe('https://example.com/edit-address'); expect($('.ons-js-address-manual-btn').text().trim()).toBe('Manually enter address'); });