2020-11-04 13:36:30 +01:00
|
|
|
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
|
|
|
2021-02-17 13:49:04 +01:00
|
|
|
import { TransactionDetailsComponent } from '@pages/transactions/transaction-details/transaction-details.component';
|
2021-06-25 08:40:29 +02:00
|
|
|
import { RouterTestingModule } from '@angular/router/testing';
|
|
|
|
import { HttpClientTestingModule } from '@angular/common/http/testing';
|
2020-11-04 13:36:30 +01:00
|
|
|
|
|
|
|
describe('TransactionDetailsComponent', () => {
|
|
|
|
let component: TransactionDetailsComponent;
|
|
|
|
let fixture: ComponentFixture<TransactionDetailsComponent>;
|
|
|
|
|
|
|
|
beforeEach(async () => {
|
|
|
|
await TestBed.configureTestingModule({
|
2021-06-25 08:40:29 +02:00
|
|
|
imports: [RouterTestingModule, HttpClientTestingModule],
|
2021-05-10 18:15:25 +02:00
|
|
|
declarations: [TransactionDetailsComponent],
|
|
|
|
}).compileComponents();
|
2020-11-04 13:36:30 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
beforeEach(() => {
|
|
|
|
fixture = TestBed.createComponent(TransactionDetailsComponent);
|
|
|
|
component = fixture.componentInstance;
|
|
|
|
fixture.detectChanges();
|
|
|
|
});
|
|
|
|
|
|
|
|
it('should create', () => {
|
|
|
|
expect(component).toBeTruthy();
|
|
|
|
});
|
|
|
|
});
|