Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
precious-onyenaucheya-ons committed Sep 17, 2024
1 parent c5578b2 commit 630808a
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,8 +8,8 @@ import { renderComponent, templateFaker } from '../../tests/helpers/rendering';
import { EXAMPLE_AUTOSUGGEST } from './_test-examples';

describe('FOR: autosuggest', () => {
describe('GIVEN: Params: none', () => {
describe('WHEN: All params are at default state', () => {
describe('GIVEN: Params: required', () => {
describe('WHEN: All required params are provided', () => {
const $ = cheerio.load(renderComponent('autosuggest', EXAMPLE_AUTOSUGGEST));

test('THEN: it passes jest-axe checks', async () => {
Expand Down Expand Up @@ -281,7 +281,7 @@ describe('FOR: autosuggest', () => {
});
});

describe('GIVEN: autosuggest results', () => {
describe('GIVEN: Params: mutuallyExclusive', () => {
describe('WHEN: mutallyExclusive parameter is not defined', () => {
const $ = cheerio.load(renderComponent('autosuggest', EXAMPLE_AUTOSUGGEST));

Expand Down

0 comments on commit 630808a

Please sign in to comment.