Removed old rules from eslint
Tried hand at testing by fixing the spec files with import. However, still many errors and given up now.
This commit is contained in:
1 parent
d77053d92a
commit
cefb3ebdcc
118 files changed
+410
-418
No files matched your search
@@ -1,18 +1,18 @@
|
||||
import { inject, TestBed } from '@angular/core/testing';
|
||||
import { HttpClientModule } from '@angular/common/http';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
|
||||
import { CostCentreResolverService } from './cost-centre-resolver.service';
|
||||
import { CostCentreResolver } from './cost-centre-resolver.service';
|
||||
|
||||
describe('CostCentreResolverService', () => {
|
||||
describe('CostCentreResolver', () => {
|
||||
beforeEach(() => {
|
||||
TestBed.configureTestingModule({
|
||||
providers: [CostCentreDetailResolverService],
|
||||
imports: [HttpClientModule, RouterTestingModule],
|
||||
providers: [CostCentreResolver],
|
||||
});
|
||||
});
|
||||
|
||||
it('should be created', inject(
|
||||
[CostCentreDetailResolverService],
|
||||
(service: CostCentreDetailResolverService) => {
|
||||
expect(service).toBeTruthy();
|
||||
},
|
||||
));
|
||||
it('should be created', inject([CostCentreResolver], (service: CostCentreResolver) => {
|
||||
expect(service).toBeTruthy();
|
||||
}));
|
||||
});
|
||||
Reference in new issue
Block a user