@@ -205,7 +205,7 @@ describe('IncrementSlider Specs', () => {
205205
206206 const expected = 1 ;
207207
208- expect ( handleSpotlight ) . toBeCalledTimes ( expected ) ;
208+ expect ( handleSpotlight ) . toHaveBeenCalledTimes ( expected ) ;
209209 } ) ;
210210
211211 test ( 'should call onSpotlightLeft from the decrement button of vertical IncrementSlider' , ( ) => {
@@ -216,7 +216,7 @@ describe('IncrementSlider Specs', () => {
216216
217217 const expected = 1 ;
218218
219- expect ( handleSpotlight ) . toBeCalledTimes ( expected ) ;
219+ expect ( handleSpotlight ) . toHaveBeenCalledTimes ( expected ) ;
220220 } ) ;
221221
222222 test ( 'should call onSpotlightLeft from the increment button of vertical IncrementSlider' , ( ) => {
@@ -227,7 +227,7 @@ describe('IncrementSlider Specs', () => {
227227
228228 const expected = 1 ;
229229
230- expect ( handleSpotlight ) . toBeCalledTimes ( expected ) ;
230+ expect ( handleSpotlight ) . toHaveBeenCalledTimes ( expected ) ;
231231 } ) ;
232232
233233 test ( 'should call onSpotlightRight from the increment button of horizontal IncrementSlider' , ( ) => {
@@ -238,7 +238,7 @@ describe('IncrementSlider Specs', () => {
238238
239239 const expected = 1 ;
240240
241- expect ( handleSpotlight ) . toBeCalledTimes ( expected ) ;
241+ expect ( handleSpotlight ) . toHaveBeenCalledTimes ( expected ) ;
242242 } ) ;
243243
244244 test ( 'should call onSpotlightRight from the increment button of vertical IncrementSlider' , ( ) => {
@@ -249,7 +249,7 @@ describe('IncrementSlider Specs', () => {
249249
250250 const expected = 1 ;
251251
252- expect ( handleSpotlight ) . toBeCalledTimes ( expected ) ;
252+ expect ( handleSpotlight ) . toHaveBeenCalledTimes ( expected ) ;
253253 } ) ;
254254
255255 test ( 'should call onSpotlightRight from the decrement button of vertical IncrementSlider' , ( ) => {
@@ -260,7 +260,7 @@ describe('IncrementSlider Specs', () => {
260260
261261 const expected = 1 ;
262262
263- expect ( handleSpotlight ) . toBeCalledTimes ( expected ) ;
263+ expect ( handleSpotlight ) . toHaveBeenCalledTimes ( expected ) ;
264264 } ) ;
265265
266266 test ( 'should call onSpotlightUp from the decrement button of horizontal IncrementSlider' , ( ) => {
@@ -271,7 +271,7 @@ describe('IncrementSlider Specs', () => {
271271
272272 const expected = 1 ;
273273
274- expect ( handleSpotlight ) . toBeCalledTimes ( expected ) ;
274+ expect ( handleSpotlight ) . toHaveBeenCalledTimes ( expected ) ;
275275 } ) ;
276276
277277 test ( 'should call onSpotlightUp from the increment button of horizontal IncrementSlider' , ( ) => {
@@ -282,7 +282,7 @@ describe('IncrementSlider Specs', () => {
282282
283283 const expected = 1 ;
284284
285- expect ( handleSpotlight ) . toBeCalledTimes ( expected ) ;
285+ expect ( handleSpotlight ) . toHaveBeenCalledTimes ( expected ) ;
286286 } ) ;
287287
288288 test ( 'should call onSpotlightUp from the increment button of vertical IncrementSlider' , ( ) => {
@@ -293,7 +293,7 @@ describe('IncrementSlider Specs', () => {
293293
294294 const expected = 1 ;
295295
296- expect ( handleSpotlight ) . toBeCalledTimes ( expected ) ;
296+ expect ( handleSpotlight ) . toHaveBeenCalledTimes ( expected ) ;
297297 } ) ;
298298
299299 test ( 'should call onSpotlightDown from the increment button of horizontal IncrementSlider' , ( ) => {
@@ -304,7 +304,7 @@ describe('IncrementSlider Specs', () => {
304304
305305 const expected = 1 ;
306306
307- expect ( handleSpotlight ) . toBeCalledTimes ( expected ) ;
307+ expect ( handleSpotlight ) . toHaveBeenCalledTimes ( expected ) ;
308308 } ) ;
309309
310310 test ( 'should call onSpotlightDown from the decrement button of horizontal IncrementSlider' , ( ) => {
@@ -315,7 +315,7 @@ describe('IncrementSlider Specs', () => {
315315
316316 const expected = 1 ;
317317
318- expect ( handleSpotlight ) . toBeCalledTimes ( expected ) ;
318+ expect ( handleSpotlight ) . toHaveBeenCalledTimes ( expected ) ;
319319 } ) ;
320320
321321 test ( 'should call onSpotlightDown from the decrement button of vertical IncrementSlider' , ( ) => {
@@ -326,7 +326,7 @@ describe('IncrementSlider Specs', () => {
326326
327327 const expected = 1 ;
328328
329- expect ( handleSpotlight ) . toBeCalledTimes ( expected ) ;
329+ expect ( handleSpotlight ) . toHaveBeenCalledTimes ( expected ) ;
330330 } ) ;
331331 } ) ;
332332
@@ -339,7 +339,7 @@ describe('IncrementSlider Specs', () => {
339339
340340 const expected = 1 ;
341341
342- expect ( handleSpotlight ) . toBeCalledTimes ( expected ) ;
342+ expect ( handleSpotlight ) . toHaveBeenCalledTimes ( expected ) ;
343343 } ) ;
344344
345345 test ( 'should call onSpotlightRight from slider of horizontal IncrementSlider when value is at max' , ( ) => {
@@ -350,7 +350,7 @@ describe('IncrementSlider Specs', () => {
350350
351351 const expected = 1 ;
352352
353- expect ( handleSpotlight ) . toBeCalledTimes ( expected ) ;
353+ expect ( handleSpotlight ) . toHaveBeenCalledTimes ( expected ) ;
354354 } ) ;
355355
356356 test ( 'should call onSpotlightDown from slider of vertical IncrementSlider when value is at min' , ( ) => {
@@ -361,7 +361,7 @@ describe('IncrementSlider Specs', () => {
361361
362362 const expected = 1 ;
363363
364- expect ( handleSpotlight ) . toBeCalledTimes ( expected ) ;
364+ expect ( handleSpotlight ) . toHaveBeenCalledTimes ( expected ) ;
365365 } ) ;
366366
367367 test ( 'should call onSpotlightUp from slider of vertical IncrementSlider when value is at max' , ( ) => {
@@ -372,7 +372,7 @@ describe('IncrementSlider Specs', () => {
372372
373373 const expected = 1 ;
374374
375- expect ( handleSpotlight ) . toBeCalledTimes ( expected ) ;
375+ expect ( handleSpotlight ) . toHaveBeenCalledTimes ( expected ) ;
376376 } ) ;
377377 } ) ;
378378} ) ;
0 commit comments