Skip to content

Commit

Permalink
more test update
Browse files Browse the repository at this point in the history
  • Loading branch information
precious-onyenaucheya-ons committed Nov 19, 2024
1 parent 5a66702 commit 7dda13c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/autosuggest/_macro.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,14 @@ describe('FOR: Macro: Autosuggest', () => {
test('THEN: the aria-atomic attribute is set to true on the status container', () => {
expect($('.ons-autosuggest__status').attr('aria-atomic')).toBe('true');
});

test('THEN: it has no value set for data-min-chars', () => {
expect($('.ons-autosuggest').attr('data-min-chars')).toBe('');
});

test('THEN: it has no value set for data-result-threshold"', () => {
expect($('.ons-autosuggest').attr('data-result-threshold')).toBeUndefined();
});
});
});

Expand Down

0 comments on commit 7dda13c

Please sign in to comment.