Skip to content

Commit

Permalink
rephrase test name
Browse files Browse the repository at this point in the history
  • Loading branch information
precious-onyenaucheya-ons committed Sep 23, 2024
1 parent d0c926e commit c68cd42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/address-input/_macro.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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');
});
Expand Down

0 comments on commit c68cd42

Please sign in to comment.