brewman/overlord/src/app/recipe/recipe-list-resolver.service.spec.ts

19 lines
590 B
TypeScript

import { HttpClientModule } from '@angular/common/http';
import { inject, TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { RecipeListResolver } from './recipe-list-resolver.service';
describe('RecipeListResolver', () => {
beforeEach(() => {
TestBed.configureTestingModule({
imports: [HttpClientModule, RouterTestingModule],
providers: [RecipeListResolver],
});
});
it('should be created', inject([RecipeListResolver], (service: RecipeListResolver) => {
expect(service).toBeTruthy();
}));
});