19 lines
538 B
TypeScript
19 lines
538 B
TypeScript
import { TestBed } from '@angular/core/testing';
|
|
import { ResolveFn } from '@angular/router';
|
|
|
|
import { Account } from '../core/account';
|
|
import { accountResolver } from './account.resolver';
|
|
|
|
describe('accountResolver', () => {
|
|
const executeResolver: ResolveFn<Account> = (...resolverParameters) =>
|
|
TestBed.runInInjectionContext(() => accountResolver(...resolverParameters));
|
|
|
|
beforeEach(() => {
|
|
TestBed.configureTestingModule({});
|
|
});
|
|
|
|
it('should be created', () => {
|
|
expect(executeResolver).toBeTruthy();
|
|
});
|
|
});
|