fix: httpclient in all admin specs
This commit is contained in:
@@ -1,12 +1,19 @@
|
||||
import { TestBed } from '@angular/core/testing';
|
||||
|
||||
import { MenuEditService } from './menu-edit.service';
|
||||
import { provideHttpClient } from '@angular/common/http';
|
||||
import { provideHttpClientTesting } from '@angular/common/http/testing';
|
||||
|
||||
xdescribe('MenuEditService', () => {
|
||||
describe('MenuEditService', () => {
|
||||
let service: MenuEditService;
|
||||
|
||||
beforeEach(() => {
|
||||
TestBed.configureTestingModule({});
|
||||
TestBed.configureTestingModule({
|
||||
providers: [
|
||||
provideHttpClient(),
|
||||
provideHttpClientTesting()
|
||||
]
|
||||
});
|
||||
service = TestBed.inject(MenuEditService);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user