()
| 1822 | it('should throw if class without @Component decorator is used as Component type', () => { |
| 1823 | class MyClassWithoutComponentDecorator {} |
| 1824 | const createComponent = () => { |
| 1825 | fixture.componentInstance.viewContainerRef.createComponent( |
| 1826 | MyClassWithoutComponentDecorator, |
| 1827 | ); |
| 1828 | }; |
| 1829 | expect(createComponent).toThrowError( |
| 1830 | /Provided Component class doesn't contain Component definition./, |
| 1831 | ); |
no test coverage detected
searching dependent graphs…