tanshu
cefb3ebdcc
Tried hand at testing by fixing the spec files with import. However, still many errors and given up now.
18 lines
518 B
TypeScript
18 lines
518 B
TypeScript
import { inject, TestBed } from '@angular/core/testing';
|
|
import { HttpClientModule } from '@angular/common/http';
|
|
|
|
import { ClosingStockResolver } from './closing-stock-resolver.service';
|
|
|
|
describe('ClosingStockResolver', () => {
|
|
beforeEach(() => {
|
|
TestBed.configureTestingModule({
|
|
imports: [HttpClientModule],
|
|
providers: [ClosingStockResolver],
|
|
});
|
|
});
|
|
|
|
it('should be created', inject([ClosingStockResolver], (service: ClosingStockResolver) => {
|
|
expect(service).toBeTruthy();
|
|
}));
|
|
});
|