From 7dda13ca2bac7646d891f17c4290c5c41156ba86 Mon Sep 17 00:00:00 2001 From: Precious Onyenaucheya Date: Tue, 19 Nov 2024 16:17:12 +0000 Subject: [PATCH] more test update --- src/components/autosuggest/_macro.spec.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/components/autosuggest/_macro.spec.js b/src/components/autosuggest/_macro.spec.js index 0172fd207f..c69bdca91f 100644 --- a/src/components/autosuggest/_macro.spec.js +++ b/src/components/autosuggest/_macro.spec.js @@ -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(); + }); }); });