@@ -33,7 +33,6 @@ describe('RadioGroup Pattern', () => {
33
33
items : inputs . items ,
34
34
value : inputs . value ?? signal ( [ ] ) ,
35
35
activeIndex : inputs . activeIndex ?? signal ( 0 ) ,
36
- wrap : inputs . wrap ?? signal ( true ) ,
37
36
readonly : inputs . readonly ?? signal ( false ) ,
38
37
disabled : inputs . disabled ?? signal ( false ) ,
39
38
skipDisabled : inputs . skipDisabled ?? signal ( true ) ,
@@ -137,23 +136,6 @@ describe('RadioGroup Pattern', () => {
137
136
expect ( radioGroup . inputs . activeIndex ( ) ) . toBe ( 4 ) ;
138
137
} ) ;
139
138
140
- it ( 'should wrap navigation when wrap is true' , ( ) => {
141
- const { radioGroup} = getDefaultPatterns ( { wrap : signal ( true ) } ) ;
142
- radioGroup . onKeydown ( up ( ) ) ;
143
- expect ( radioGroup . inputs . activeIndex ( ) ) . toBe ( 4 ) ;
144
- radioGroup . onKeydown ( down ( ) ) ;
145
- expect ( radioGroup . inputs . activeIndex ( ) ) . toBe ( 0 ) ;
146
- } ) ;
147
-
148
- it ( 'should not wrap navigation when wrap is false' , ( ) => {
149
- const { radioGroup} = getDefaultPatterns ( { wrap : signal ( false ) } ) ;
150
- radioGroup . onKeydown ( up ( ) ) ;
151
- expect ( radioGroup . inputs . activeIndex ( ) ) . toBe ( 0 ) ;
152
- radioGroup . onKeydown ( end ( ) ) ;
153
- radioGroup . onKeydown ( down ( ) ) ;
154
- expect ( radioGroup . inputs . activeIndex ( ) ) . toBe ( 4 ) ;
155
- } ) ;
156
-
157
139
it ( 'should skip disabled radios when skipDisabled is true' , ( ) => {
158
140
const { radioGroup, radioButtons} = getDefaultPatterns ( { skipDisabled : signal ( true ) } ) ;
159
141
radioButtons [ 1 ] . disabled . set ( true ) ;
0 commit comments