Returns array of StaticProviders to construct an angular based injector.
The final version of mock options. Options that passed to Mock constructor are merged with the global mock options (options). Some components depend on the options and the injector should be able to resolve it. To configure the injector property the implementation could do the following:
return [
{provide: MOCK_OPTIONS, useValue: options, deps: []},
];
Rest
...providers: StaticProvider[]An array of additional providers that could be added to the final configuration.
Generated using TypeDoc
The Mock internally depends on angular based injector to construct its dependencies.