18 lines
558 B
TypeScript
18 lines
558 B
TypeScript
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
|
|
import { inject, TestBed } from '@angular/core/testing';
|
|
|
|
import { RateContractService } from './rate-contract.service';
|
|
|
|
describe('RateContractService', () => {
|
|
beforeEach(() => {
|
|
TestBed.configureTestingModule({
|
|
imports: [],
|
|
providers: [RateContractService, provideHttpClient(withInterceptorsFromDi())],
|
|
});
|
|
});
|
|
|
|
it('should be created', inject([RateContractService], (service: RateContractService) => {
|
|
expect(service).toBeTruthy();
|
|
}));
|
|
});
|