Skip to content

Commit

Permalink
More update to test
Browse files Browse the repository at this point in the history
  • Loading branch information
precious-onyenaucheya-ons committed Nov 13, 2024
1 parent 6e3fc07 commit 65eaf57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/autosuggest/_macro.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { renderComponent, templateFaker } from '../../tests/helpers/rendering';
import { EXAMPLE_AUTOSUGGEST } from './_test-examples';

describe('FOR: Macro: Autosuggest', () => {
describe('GIVEN: Params: required', () => {
describe('GIVEN: Params: None', () => {
describe('WHEN: component is initialised', () => {
const $ = cheerio.load(renderComponent('autosuggest', EXAMPLE_AUTOSUGGEST));

Expand All @@ -25,7 +25,8 @@ describe('FOR: Macro: Autosuggest', () => {
expect($('.ons-autosuggest__status').attr('aria-atomic')).toBe('true');
});
});

});
describe('GIVEN: Params: Required', () => {
describe('WHEN: required params are provided', () => {
const $ = cheerio.load(renderComponent('autosuggest', EXAMPLE_AUTOSUGGEST));

Expand Down Expand Up @@ -106,7 +107,6 @@ describe('FOR: Macro: Autosuggest', () => {
});
});
});

describe('GIVEN: Params: allowMultiple', () => {
describe('WHEN: allowMultiple is true', () => {
const $ = cheerio.load(
Expand Down

0 comments on commit 65eaf57

Please sign in to comment.