()
| 1718 | it('should throw if class without @Component decorator is used as Component type', () => { |
| 1719 | class MyClassWithoutComponentDecorator {} |
| 1720 | const createComponent = () => { |
| 1721 | fixture.componentInstance.viewContainerRef.createComponent( |
| 1722 | MyClassWithoutComponentDecorator, |
| 1723 | ); |
| 1724 | }; |
| 1725 | expect(createComponent).toThrowError( |
| 1726 | /Provided Component class doesn't contain Component definition./, |
| 1727 | ); |
no test coverage detected