38 lines
1.0 KiB
TypeScript
38 lines
1.0 KiB
TypeScript
|
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||
|
|
||
|
import { ExportAccountsComponent } from './export-accounts.component';
|
||
|
import {AccountsModule} from '../accounts.module';
|
||
|
import {AppModule} from '../../../app.module';
|
||
|
import {FooterStubComponent, SidebarStubComponent, TopbarStubComponent} from '../../../../testing';
|
||
|
|
||
|
describe('ExportAccountsComponent', () => {
|
||
|
let component: ExportAccountsComponent;
|
||
|
let fixture: ComponentFixture<ExportAccountsComponent>;
|
||
|
|
||
|
beforeEach(async () => {
|
||
|
await TestBed.configureTestingModule({
|
||
|
declarations: [
|
||
|
ExportAccountsComponent,
|
||
|
FooterStubComponent,
|
||
|
SidebarStubComponent,
|
||
|
TopbarStubComponent
|
||
|
],
|
||
|
imports: [
|
||
|
AccountsModule,
|
||
|
AppModule
|
||
|
]
|
||
|
})
|
||
|
.compileComponents();
|
||
|
});
|
||
|
|
||
|
beforeEach(() => {
|
||
|
fixture = TestBed.createComponent(ExportAccountsComponent);
|
||
|
component = fixture.componentInstance;
|
||
|
fixture.detectChanges();
|
||
|
});
|
||
|
|
||
|
it('should create', () => {
|
||
|
expect(component).toBeTruthy();
|
||
|
});
|
||
|
});
|