28 lines
941 B
TypeScript
28 lines
941 B
TypeScript
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
|
|
import { TransactionDetailsComponent } from '@pages/transactions/transaction-details/transaction-details.component';
|
|
import { RouterTestingModule } from '@angular/router/testing';
|
|
import { HttpClientTestingModule } from '@angular/common/http/testing';
|
|
|
|
describe('TransactionDetailsComponent', () => {
|
|
let component: TransactionDetailsComponent;
|
|
let fixture: ComponentFixture<TransactionDetailsComponent>;
|
|
|
|
beforeEach(async () => {
|
|
await TestBed.configureTestingModule({
|
|
imports: [RouterTestingModule, HttpClientTestingModule],
|
|
declarations: [TransactionDetailsComponent],
|
|
}).compileComponents();
|
|
});
|
|
|
|
beforeEach(() => {
|
|
fixture = TestBed.createComponent(TransactionDetailsComponent);
|
|
component = fixture.componentInstance;
|
|
fixture.detectChanges();
|
|
});
|
|
|
|
it('should create', () => {
|
|
expect(component).toBeTruthy();
|
|
});
|
|
});
|