@@ -14,10 +14,6 @@ import type {
14
14
TextCollector ,
15
15
SocialLoginCollector ,
16
16
SubmitCollector ,
17
- DropdownCollector ,
18
- ComboboxCollector ,
19
- RadioCollector ,
20
- FlowLinkCollector ,
21
17
} from './types.js' ;
22
18
import type * as Types from './types.js' ;
23
19
@@ -77,48 +73,6 @@ describe('Type exports', () => {
77
73
expectTypeOf < PasswordCollector > ( ) . toHaveProperty ( 'input' ) . toBeObject ( ) ;
78
74
expectTypeOf < PasswordCollector > ( ) . toHaveProperty ( 'output' ) . toBeObject ( ) ;
79
75
} ) ;
80
-
81
- it ( 'should validate DropdownCollector structure' , ( ) => {
82
- expectTypeOf < DropdownCollector > ( )
83
- . toHaveProperty ( 'category' )
84
- . toEqualTypeOf < 'SingleValueCollector' > ( ) ;
85
- expectTypeOf < DropdownCollector > ( )
86
- . toHaveProperty ( 'type' )
87
- . toEqualTypeOf < 'DropDownCollector' > ( ) ;
88
- expectTypeOf < DropdownCollector > ( ) . toHaveProperty ( 'input' ) . toBeObject ( ) ;
89
- expectTypeOf < DropdownCollector > ( ) . toHaveProperty ( 'output' ) . toBeObject ( ) ;
90
- } ) ;
91
-
92
- it ( 'should validate ComboboxCollector structure' , ( ) => {
93
- expectTypeOf < ComboboxCollector > ( )
94
- . toHaveProperty ( 'category' )
95
- . toEqualTypeOf < 'SingleValueCollector' > ( ) ;
96
- expectTypeOf < ComboboxCollector > ( )
97
- . toHaveProperty ( 'type' )
98
- . toEqualTypeOf < 'ComboboxCollector' > ( ) ;
99
- expectTypeOf < ComboboxCollector > ( ) . toHaveProperty ( 'input' ) . toBeObject ( ) ;
100
- expectTypeOf < ComboboxCollector > ( ) . toHaveProperty ( 'output' ) . toBeObject ( ) ;
101
- } ) ;
102
-
103
- it ( 'should validate RadioCollector structure' , ( ) => {
104
- expectTypeOf < RadioCollector > ( )
105
- . toHaveProperty ( 'category' )
106
- . toEqualTypeOf < 'SingleValueCollector' > ( ) ;
107
- expectTypeOf < RadioCollector > ( ) . toHaveProperty ( 'type' ) . toEqualTypeOf < 'RadioCollector' > ( ) ;
108
- expectTypeOf < RadioCollector > ( ) . toHaveProperty ( 'input' ) . toBeObject ( ) ;
109
- expectTypeOf < RadioCollector > ( ) . toHaveProperty ( 'output' ) . toBeObject ( ) ;
110
- } ) ;
111
-
112
- it ( 'should validate FlowLinkCollector structure' , ( ) => {
113
- expectTypeOf < FlowLinkCollector > ( )
114
- . toHaveProperty ( 'category' )
115
- . toEqualTypeOf < 'SingleValueCollector' > ( ) ;
116
- expectTypeOf < FlowLinkCollector > ( )
117
- . toHaveProperty ( 'type' )
118
- . toEqualTypeOf < 'FlowLinkCollector' > ( ) ;
119
- expectTypeOf < FlowLinkCollector > ( ) . toHaveProperty ( 'input' ) . toBeObject ( ) ;
120
- expectTypeOf < FlowLinkCollector > ( ) . toHaveProperty ( 'output' ) . toBeObject ( ) ;
121
- } ) ;
122
76
} ) ;
123
77
124
78
describe ( 'ActionCollector Types' , ( ) => {
0 commit comments