2020-11-25 08:51:15 +01:00
|
|
|
import { TestBed } from '@angular/core/testing';
|
|
|
|
|
2021-02-17 13:49:04 +01:00
|
|
|
import { BlockSyncService } from '@app/_services/block-sync.service';
|
2021-05-10 18:15:25 +02:00
|
|
|
import { TransactionService } from '@app/_services/transaction.service';
|
|
|
|
import { TransactionServiceStub } from '@src/testing';
|
2020-11-25 08:51:15 +01:00
|
|
|
|
|
|
|
describe('BlockSyncService', () => {
|
|
|
|
let service: BlockSyncService;
|
|
|
|
|
|
|
|
beforeEach(() => {
|
|
|
|
TestBed.configureTestingModule({
|
2021-05-10 18:15:25 +02:00
|
|
|
providers: [{ provide: TransactionService, useClass: TransactionServiceStub }],
|
2020-11-25 08:51:15 +01:00
|
|
|
});
|
|
|
|
service = TestBed.inject(BlockSyncService);
|
|
|
|
});
|
|
|
|
|
|
|
|
it('should be created', () => {
|
|
|
|
expect(service).toBeTruthy();
|
|
|
|
});
|
|
|
|
});
|