]#a="dirA"><
});
describe('error cases', () => {
+ it('should report when ng-content has content', () => {
+ expect(() => parse('
content', []))
+ .toThrowError(`Template parse errors:
+
element cannot have content. must be immediately followed by ("[ERROR ->]content"): TestComp@0:0`);
+ });
+
it('should report invalid property names', () => {
expect(() => parse('', [])).toThrowError(`Template parse errors:
Can't bind to 'invalidProp' since it isn't a known native property ("][invalid-prop]>
"): TestComp@0:5`);