()
| 1887 | it('should throw if class without @Component decorator is used as Component type', () => { |
| 1888 | class MyClassWithoutComponentDecorator {} |
| 1889 | const createComponent = () => { |
| 1890 | fixture.componentInstance.viewContainerRef.createComponent( |
| 1891 | MyClassWithoutComponentDecorator, |
| 1892 | ); |
| 1893 | }; |
| 1894 | expect(createComponent).toThrowError( |
| 1895 | /Provided Component class doesn't contain Component definition./, |
| 1896 | ); |
no test coverage detected