cic-staff-client/src/app/pages/tokens/tokens.component.spec.ts

34 lines
979 B
TypeScript
Raw Normal View History

2020-11-25 09:00:20 +01:00
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { TokensComponent } from '@pages/tokens/tokens.component';
2021-05-10 18:15:25 +02:00
import { FooterStubComponent, SidebarStubComponent, TopbarStubComponent } from '@src/testing';
import { AppModule } from '@app/app.module';
import { TokensModule } from '@pages/tokens/tokens.module';
2020-11-25 09:00:20 +01:00
describe('TokensComponent', () => {
let component: TokensComponent;
let fixture: ComponentFixture<TokensComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [
TokensComponent,
FooterStubComponent,
SidebarStubComponent,
2021-05-10 18:15:25 +02:00
TopbarStubComponent,
2020-11-25 09:00:20 +01:00
],
2021-05-10 18:15:25 +02:00
imports: [AppModule, TokensModule],
}).compileComponents();
2020-11-25 09:00:20 +01:00
});
beforeEach(() => {
fixture = TestBed.createComponent(TokensComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});