import { ComponentFixture , TestBed , waitForAsync } from '@angular/core/testing' ; import { WalletCashOnboardingComponent } from './cash-onboarding.component' ; import { ReactiveFormsModule } from '@angular/forms' ; import { ButtonComponent } from '../../../../../../common/components/button/button.component' ; describe ( 'WalletCashOnboardingComponent' , ( ) => { let component ; let fixture ; beforeEach ( waitForAsync ( ( ) => { TestBed . configureTestingModule ( { declarations : [ WalletCashOnboardingComponent , ButtonComponent ] , imports : [ ReactiveFormsModule ] , } ) . compileComponents ( ) ; } ) ) ; beforeEach ( ( ) => { fixture = TestBed . createComponent ( WalletCashOnboardingComponent ) ; component = fixture . componentInstance ; fixture . detectChanges ( ) ; } ) ; } ) ;