18 lines
492 B
TypeScript
18 lines
492 B
TypeScript
import { HttpClientModule } from '@angular/common/http';
|
|
import { inject, TestBed } from '@angular/core/testing';
|
|
|
|
import { ProfitLossService } from './profit-loss.service';
|
|
|
|
describe('ProfitLossService', () => {
|
|
beforeEach(() => {
|
|
TestBed.configureTestingModule({
|
|
imports: [HttpClientModule],
|
|
providers: [ProfitLossService],
|
|
});
|
|
});
|
|
|
|
it('should be created', inject([ProfitLossService], (service: ProfitLossService) => {
|
|
expect(service).toBeTruthy();
|
|
}));
|
|
});
|