mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-12 12:33:07 +00:00
12 lines
290 B
TypeScript
12 lines
290 B
TypeScript
import { ComponentFactory } from '@angular/core';
|
|
import { create } from 'domain';
|
|
|
|
export class ComponentInjectorStub {
|
|
resolveComponentFactory(): ComponentFactory<any> {
|
|
return {
|
|
create() {
|
|
return { hostView: {}, viewContainerParent: {}, }
|
|
}
|
|
} as any;
|
|
}
|
|
} |