@@ -231,17 +231,17 @@ describe('GridFocus', () => {
231231 describe ( 'getGridTabindex' , ( ) => {
232232 it ( 'should return 0 if grid is disabled' , ( ) => {
233233 const { gridFocus} = setupGridFocus ( { disabled : signal ( true ) } ) ;
234- expect ( gridFocus . getGridTabindex ( ) ) . toBe ( 0 ) ;
234+ expect ( gridFocus . getGridTabIndex ( ) ) . toBe ( 0 ) ;
235235 } ) ;
236236
237237 it ( 'should return -1 if focusMode is "roving" and grid is not disabled' , ( ) => {
238238 const { gridFocus} = setupGridFocus ( { focusMode : signal ( 'roving' ) } ) ;
239- expect ( gridFocus . getGridTabindex ( ) ) . toBe ( - 1 ) ;
239+ expect ( gridFocus . getGridTabIndex ( ) ) . toBe ( - 1 ) ;
240240 } ) ;
241241
242242 it ( 'should return 0 if focusMode is "activedescendant" and grid is not disabled' , ( ) => {
243243 const { gridFocus} = setupGridFocus ( { focusMode : signal ( 'activedescendant' ) } ) ;
244- expect ( gridFocus . getGridTabindex ( ) ) . toBe ( 0 ) ;
244+ expect ( gridFocus . getGridTabIndex ( ) ) . toBe ( 0 ) ;
245245 } ) ;
246246 } ) ;
247247
@@ -252,9 +252,9 @@ describe('GridFocus', () => {
252252 numCols : 3 ,
253253 disabled : signal ( true ) ,
254254 } ) ;
255- expect ( gridFocus . getCellTabindex ( cells [ 0 ] [ 0 ] ) ) . toBe ( - 1 ) ;
256- expect ( gridFocus . getCellTabindex ( cells [ 0 ] [ 1 ] ) ) . toBe ( - 1 ) ;
257- expect ( gridFocus . getCellTabindex ( cells [ 0 ] [ 2 ] ) ) . toBe ( - 1 ) ;
255+ expect ( gridFocus . getCellTabIndex ( cells [ 0 ] [ 0 ] ) ) . toBe ( - 1 ) ;
256+ expect ( gridFocus . getCellTabIndex ( cells [ 0 ] [ 1 ] ) ) . toBe ( - 1 ) ;
257+ expect ( gridFocus . getCellTabIndex ( cells [ 0 ] [ 2 ] ) ) . toBe ( - 1 ) ;
258258 } ) ;
259259
260260 it ( 'should return -1 if focusMode is "activedescendant"' , ( ) => {
@@ -263,9 +263,9 @@ describe('GridFocus', () => {
263263 numCols : 3 ,
264264 focusMode : signal ( 'activedescendant' ) ,
265265 } ) ;
266- expect ( gridFocus . getCellTabindex ( cells [ 0 ] [ 0 ] ) ) . toBe ( - 1 ) ;
267- expect ( gridFocus . getCellTabindex ( cells [ 0 ] [ 1 ] ) ) . toBe ( - 1 ) ;
268- expect ( gridFocus . getCellTabindex ( cells [ 0 ] [ 2 ] ) ) . toBe ( - 1 ) ;
266+ expect ( gridFocus . getCellTabIndex ( cells [ 0 ] [ 0 ] ) ) . toBe ( - 1 ) ;
267+ expect ( gridFocus . getCellTabIndex ( cells [ 0 ] [ 1 ] ) ) . toBe ( - 1 ) ;
268+ expect ( gridFocus . getCellTabIndex ( cells [ 0 ] [ 2 ] ) ) . toBe ( - 1 ) ;
269269 } ) ;
270270
271271 it ( 'should return 0 if focusMode is "roving" and cell is the activeCell' , ( ) => {
@@ -275,9 +275,9 @@ describe('GridFocus', () => {
275275 focusMode : signal ( 'roving' ) ,
276276 } ) ;
277277
278- expect ( gridFocus . getCellTabindex ( cells [ 0 ] [ 0 ] ) ) . toBe ( 0 ) ;
279- expect ( gridFocus . getCellTabindex ( cells [ 0 ] [ 1 ] ) ) . toBe ( - 1 ) ;
280- expect ( gridFocus . getCellTabindex ( cells [ 0 ] [ 2 ] ) ) . toBe ( - 1 ) ;
278+ expect ( gridFocus . getCellTabIndex ( cells [ 0 ] [ 0 ] ) ) . toBe ( 0 ) ;
279+ expect ( gridFocus . getCellTabIndex ( cells [ 0 ] [ 1 ] ) ) . toBe ( - 1 ) ;
280+ expect ( gridFocus . getCellTabIndex ( cells [ 0 ] [ 2 ] ) ) . toBe ( - 1 ) ;
281281 } ) ;
282282 } ) ;
283283
0 commit comments