f228a9866b
- Add block sync service. - Add mock token service. - Add mock user service. - Add user info to transactions.
23 lines
591 B
TypeScript
23 lines
591 B
TypeScript
import { TestBed } from '@angular/core/testing';
|
|
|
|
import { BlockSyncService } from './block-sync.service';
|
|
import {TransactionService} from './transaction.service';
|
|
import {TransactionServiceStub} from '../../testing';
|
|
|
|
describe('BlockSyncService', () => {
|
|
let service: BlockSyncService;
|
|
|
|
beforeEach(() => {
|
|
TestBed.configureTestingModule({
|
|
providers: [
|
|
{ provide: TransactionService, useClass: TransactionServiceStub }
|
|
]
|
|
});
|
|
service = TestBed.inject(BlockSyncService);
|
|
});
|
|
|
|
it('should be created', () => {
|
|
expect(service).toBeTruthy();
|
|
});
|
|
});
|