@@ -162,32 +162,6 @@ export async function render<SutType, WrapperType = SutType>(
162
162
}
163
163
} ;
164
164
165
- const changeInput = ( changedInputProperties : Partial < SutType > ) => {
166
- if ( Object . keys ( changedInputProperties ) . length === 0 ) {
167
- return ;
168
- }
169
-
170
- setComponentInputs ( fixture , changedInputProperties ) ;
171
-
172
- fixture . detectChanges ( ) ;
173
- } ;
174
-
175
- const change = ( changedProperties : Partial < SutType > ) => {
176
- if ( Object . keys ( changedProperties ) . length === 0 ) {
177
- return ;
178
- }
179
-
180
- const changes = getChangesObj ( fixture . componentInstance as Record < string , any > , changedProperties ) ;
181
-
182
- setComponentProperties ( fixture , changedProperties ) ;
183
-
184
- if ( hasOnChangesHook ( fixture . componentInstance ) ) {
185
- fixture . componentInstance . ngOnChanges ( changes ) ;
186
- }
187
-
188
- fixture . componentRef . injector . get ( ChangeDetectorRef ) . detectChanges ( ) ;
189
- } ;
190
-
191
165
const navigate = async ( elementOrPath : Element | string , basePath = '' ) : Promise < boolean > => {
192
166
const href = typeof elementOrPath === 'string' ? elementOrPath : elementOrPath . getAttribute ( 'href' ) ;
193
167
const [ path , params ] = ( basePath + href ) . split ( '?' ) ;
@@ -234,8 +208,6 @@ export async function render<SutType, WrapperType = SutType>(
234
208
detectChanges : ( ) => detectChanges ( ) ,
235
209
navigate,
236
210
rerender,
237
- change,
238
- changeInput,
239
211
// @ts -ignore: fixture assigned
240
212
debugElement : fixture . debugElement ,
241
213
// @ts -ignore: fixture assigned
0 commit comments