Skip to content

Instantly share code, notes, and snippets.

@1nv1n
Created June 30, 2018 01:53
Show Gist options
  • Save 1nv1n/283899dc8b1ff9acaa4c32563e4ebf42 to your computer and use it in GitHub Desktop.
Save 1nv1n/283899dc8b1ff9acaa4c32563e4ebf42 to your computer and use it in GitHub Desktop.
ng test Error on Angular Material
10% building modules 1/1 modules 0 active(node:15388) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
29 06 2018 20:51:39.550:INFO [karma]: Karma v2.0.4 server started at http://0.0.0.0:9876/
29 06 2018 20:51:39.552:INFO [launcher]: Launching browser Chrome with unlimited concurrency
29 06 2018 20:51:39.565:INFO [launcher]: Starting browser Chrome 29 06 2018 20:51:46.520:INFO [Chrome 67.0.3396 (Windows 10 0.0.0)]: Connected on socket xLhf5A7WJuiWFkCAAAAA with id 74579522
Chrome 67.0.3396 (Windows 10 0.0.0): Executed 0 of 3 SUCCESS (0 secs / 0 secs)
Chrome 67.0.3396 (Windows 10 0.0.0) HomeComponent should display App title on toolbar FAILED
<span class="expand-on-toolbar"></span>
<span>
<button mat-icon-button [ERROR ->][mat-menu-trigger-for]="menu">
<mat-icon>more_vert</mat-icon>
</button>
1. If 'mat-icon' is an Angular component, then verify that it is part of this module.
2. If 'mat-icon' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
<span>
<button mat-icon-button [mat-menu-trigger-for]="menu">
[ERROR ->]<mat-icon>more_vert</mat-icon>
</button>
</span>
1. If 'mat-toolbar' is an Angular component, then verify that it is part of this module.
error properties: Object({ ngSyntaxError: true, ngParseErrors: [ Can't bind to 'mat-menu-trigger-for' since it isn't a known property of 'button'. ("
"): ng:///DynamicTestModule/HomeComponent.html@5:30, 'mat-icon' is not a known element:
"): ng:///DynamicTestModule/HomeComponent.html@6:8, 'mat-toolbar' is not a known element:
2. If 'mat-toolbar' is a We ...
Error: Template parse errors:
at <Jasmine>
at syntaxError node_modules/@angular/compiler/fesm5/compiler.js:215:1)
at TemplateParser.push../node_modules/@angular/compiler/fesm5/compiler.js.TemplateParser.parse node_modules/@angular/compiler/fesm5/compiler.js:14702:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._parseTemplate node_modules/@angular/compiler/fesm5/compiler.js:22709:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileTemplate node_modules/@angular/compiler/fesm5/compiler.js:22696:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:22639:48
at <Jasmine>
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileComponents node_modules/@angular/compiler/fesm5/compiler.js:22639:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:22557:1
at Object.then node_modules/@angular/compiler/fesm5/compiler.js:206:33)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileModuleAndAllComponents node_modules/@angular/compiler/fesm5/compiler.js:22555:1)
<span class="expand-on-toolbar"></span>
<span>
<button mat-icon-button [ERROR ->][mat-menu-trigger-for]="menu">
<mat-icon>more_vert</mat-icon>
</button>
1. If 'mat-icon' is an Angular component, then verify that it is part of this module.
2. If 'mat-icon' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
<span>
<button mat-icon-button [mat-menu-trigger-for]="menu">
[ERROR ->]<mat-icon>more_vert</mat-icon>
</button>
</span>
1. If 'mat-toolbar' is an Angular component, then verify that it is part of this module.
Error: Template parse errors:
error properties: Object({ ngSyntaxError: true, ngParseErrors: [ Can't bind to 'mat-menu-trigger-for' since it isn't a known property of 'button'. ("
"): ng:///DynamicTestModule/HomeComponent.html@5:30, 'mat-icon' is not a known element:
"): ng:///DynamicTestModule/HomeComponent.html@6:8, 'mat-toolbar' is not a known element:
2. If 'mat-toolbar' is a We ...
at <Jasmine>
at syntaxError node_modules/@angular/compiler/fesm5/compiler.js:215:1)
at TemplateParser.push../node_modules/@angular/compiler/fesm5/compiler.js.TemplateParser.parse node_modules/@angular/compiler/fesm5/compiler.js:14702:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._parseTemplate node_modules/@angular/compiler/fesm5/compiler.js:22709:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileTemplate node_modules/@angular/compiler/fesm5/compiler.js:22696:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:22639:48
at <Jasmine>
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileComponents node_modules/@angular/compiler/fesm5/compiler.js:22639:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:22557:1
at Object.then node_modules/@angular/compiler/fesm5/compiler.js:206:33)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileModuleAndAllComponents node_modules/@angular/compiler/fesm5/compiler.js:22555:1)
Failed: Cannot read property 'debugElement' of undefined
at <Jasmine>
at UserContext.<anonymous> src/app/components/home/home.component.spec.ts:28:30)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke node_modules/zone.js/dist/zone.js:388:1)
at AsyncTestZoneSpec.push../node_modules/zone.js/dist/zone-testing.js.AsyncTestZoneSpec.onInvoke node_modules/zone.js/dist/zone-testing.js:713:1)
at ProxyZoneSpec.push../node_modules/zone.js/dist/zone-testing.js.ProxyZoneSpec.onInvoke node_modules/zone.js/dist/zone-testing.js:285:1)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke node_modules/zone.js/dist/zone.js:387:1)
at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runGuarded node_modules/zone.js/dist/zone.js:151:1)
at runInTestZone node_modules/zone.js/dist/zone-testing.js:841:1)
at UserContext.<anonymous> node_modules/zone.js/dist/zone-testing.js:775:1)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke node_modules/zone.js/dist/zone.js:388:1)
at ProxyZoneSpec.push../node_modules/zone.js/dist/zone-testing.js.ProxyZoneSpec.onInvoke node_modules/zone.js/dist/zone-testingChrome 67.0.3396 (Windows 10 0.0.0) HomeComponent should display App title on toolbar FAILED
<span class="expand-on-toolbar"></span>
<span>
<button mat-icon-button [ERROR ->][mat-menu-trigger-for]="menu">
<mat-icon>more_vert</mat-icon>
</button>
1. If 'mat-icon' is an Angular component, then verify that it is part of this module.
2. If 'mat-icon' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
<span>
<button mat-icon-button [mat-menu-trigger-for]="menu">
[ERROR ->]<mat-icon>more_vert</mat-icon>
</button>
</span>
1. If 'mat-toolbar' is an Angular component, then verify that it is part of this module.
error properties: Object({ ngSyntaxError: true, ngParseErrors: [ Can't bind to 'mat-menu-trigger-for' since it isn't a known property of 'button'. ("
"): ng:///DynamicTestModule/HomeComponent.html@5:30, 'mat-icon' is not a known element:
"): ng:///DynamicTestModule/HomeComponent.html@6:8, 'mat-toolbar' is not a known element:
2. If 'mat-toolbar' is a We ...
Error: Template parse errors:
at <Jasmine>
at syntaxError node_modules/@angular/compiler/fesm5/compiler.js:215:1)
at TemplateParser.push../node_modules/@angular/compiler/fesm5/compiler.js.TemplateParser.parse node_modules/@angular/compiler/fesm5/compiler.js:14702:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._parseTemplate node_modules/@angular/compiler/fesm5/compiler.js:22709:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileTemplate node_modules/@angular/compiler/fesm5/compiler.js:22696:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:22639:48
at <Jasmine>
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileComponents node_modules/@angular/compiler/fesm5/compiler.js:22639:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:22557:1
at Object.then node_modules/@angular/compiler/fesm5/compiler.js:206:33)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileModuleAndAllComponents node_modules/@angular/compiler/fesm5/compiler.js:22555:1)
<span class="expand-on-toolbar"></span>
<span>
<button mat-icon-button [ERROR ->][mat-menu-trigger-for]="menu">
<mat-icon>more_vert</mat-icon>
</button>
1. If 'mat-icon' is an Angular component, then verify that it is part of this module.
2. If 'mat-icon' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
<span>
<button mat-icon-button [mat-menu-trigger-for]="menu">
[ERROR ->]<mat-icon>more_vert</mat-icon>
</button>
</span>
1. If 'mat-toolbar' is an Angular component, then verify that it is part of this module.
Error: Template parse errors:
error properties: Object({ ngSyntaxError: true, ngParseErrors: [ Can't bind to 'mat-menu-trigger-for' since it isn't a known property of 'button'. ("
"): ng:///DynamicTestModule/HomeComponent.html@5:30, 'mat-icon' is not a known element:
"): ng:///DynamicTestModule/HomeComponent.html@6:8, 'mat-toolbar' is not a known element:
2. If 'mat-toolbar' is a We ...
at <Jasmine>
at syntaxError node_modules/@angular/compiler/fesm5/compiler.js:215:1)
at TemplateParser.push../node_modules/@angular/compiler/fesm5/compiler.js.TemplateParser.parse node_modules/@angular/compiler/fesm5/compiler.js:14702:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._parseTemplate node_modules/@angular/compiler/fesm5/compiler.js:22709:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileTemplate node_modules/@angular/compiler/fesm5/compiler.js:22696:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:22639:48
at <Jasmine>
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileComponents node_modules/@angular/compiler/fesm5/compiler.js:22639:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:22557:1
at Object.then node_modules/@angular/compiler/fesm5/compiler.js:206:33)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileModuleAndAllComponents node_modules/@angular/compiler/fesm5/compiler.js:22555:1)
Failed: Cannot read property 'debugElement' of undefined
at <Jasmine>
at UserContext.<anonymous> src/app/components/home/home.component.spec.ts:28:30)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke node_modules/zone.js/dist/zone.js:388:1)
at AsyncTestZoneSpec.push../node_modules/zone.js/dist/zone-testing.js.AsyncTestZoneSpec.onInvoke node_modules/zone.js/dist/zone-testing.js:713:1)
at ProxyZoneSpec.push../node_modules/zone.js/dist/zone-testing.js.ProxyZoneSpec.onInvoke node_modules/zone.js/dist/zone-testing.js:285:1)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke node_modules/zone.js/dist/zone.js:387:1)
at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runGuarded node_modules/zone.js/dist/zone.js:151:1)
at runInTestZone node_modules/zone.js/dist/zone-testing.js:841:1)
at UserContext.<anonymous> node_modules/zone.js/dist/zone-testing.js:775:1)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke node_modules/zone.js/dist/zone.js:388:1)
at ProxyZoneSpec.push../node_modules/zone.js/dist/zone-testing.js.ProxyZoneSpec.onInvoke node_modules/zone.js/dist/zone-testing.js:288:1)
Chrome 67.0.3396 (Windows 10 0.0.0): Executed 1 of 3 (1 FAILED) (0 secs / 0.059 secs)
Chrome 67.0.3396 (Windows 10 0.0.0) HomeComponent should display App title on toolbar FAILED
<span class="expand-on-toolbar"></span>
<span>
<button mat-icon-button [ERROR ->][mat-menu-trigger-for]="menu">
<mat-icon>more_vert</mat-icon>
</button>
1. If 'mat-icon' is an Angular component, then verify that it is part of this module.
2. If 'mat-icon' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
<span>
<button mat-icon-button [mat-menu-trigger-for]="menu">
[ERROR ->]<mat-icon>more_vert</mat-icon>
</button>
</span>
1. If 'mat-toolbar' is an Angular component, then verify that it is part of this module.
error properties: Object({ ngSyntaxError: true, ngParseErrors: [ Can't bind to 'mat-menu-trigger-for' since it isn't a known property of 'button'. ("
"): ng:///DynamicTestModule/HomeComponent.html@5:30, 'mat-icon' is not a known element:
"): ng:///DynamicTestModule/HomeComponent.html@6:8, 'mat-toolbar' is not a known element:
2. If 'mat-toolbar' is a We ...
Error: Template parse errors:
at <Jasmine>
at syntaxError node_modules/@angular/compiler/fesm5/compiler.js:215:1)
at TemplateParser.push../node_modules/@angular/compiler/fesm5/compiler.js.TemplateParser.parse node_modules/@angular/compiler/fesm5/compiler.js:14702:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._parseTemplate node_modules/@angular/compiler/fesm5/compiler.js:22709:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileTemplate node_modules/@angular/compiler/fesm5/compiler.js:22696:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:22639:48
at <Jasmine>
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileComponents node_modules/@angular/compiler/fesm5/compiler.js:22639:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:22557:1
at Object.then node_modules/@angular/compiler/fesm5/compiler.js:206:33)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileModuleAndAllComponents node_modules/@angular/compiler/fesm5/compiler.js:22555:1)
<span class="expand-on-toolbar"></span>
<span>
<button mat-icon-button [ERROR ->][mat-menu-trigger-for]="menu">
<mat-icon>more_vert</mat-icon>
</button>
1. If 'mat-icon' is an Angular component, then verify that it is part of this module.
2. If 'mat-icon' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
<span>
<button mat-icon-button [mat-menu-trigger-for]="menu">
[ERROR ->]<mat-icon>more_vert</mat-icon>
</button>
</span>
1. If 'mat-toolbar' is an Angular component, then verify that it is part of this module.
Error: Template parse errors:
error properties: Object({ ngSyntaxError: true, ngParseErrors: [ Can't bind to 'mat-menu-trigger-for' since it isn't a known property of 'button'. ("
"): ng:///DynamicTestModule/HomeComponent.html@5:30, 'mat-icon' is not a known element:
"): ng:///DynamicTestModule/HomeComponent.html@6:8, 'mat-toolbar' is not a known element:
2. If 'mat-toolbar' is a We ...
at <Jasmine>
at syntaxError node_modules/@angular/compiler/fesm5/compiler.js:215:1)
at TemplateParser.push../node_modules/@angular/compiler/fesm5/compiler.js.TemplateParser.parse node_modules/@angular/compiler/fesm5/compiler.js:14702:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._parseTemplate node_modules/@angular/compiler/fesm5/compiler.js:22709:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileTemplate node_modules/@angular/compiler/fesm5/compiler.js:22696:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:22639:48
at <Jasmine>
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileComponents node_modules/@angular/compiler/fesm5/compiler.js:22639:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:22557:1
at Object.then node_modules/@angular/compiler/fesm5/compiler.js:206:33)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileModuleAndAllComponents node_modules/@angular/compiler/fesm5/compiler.js:22555:1)
Failed: Cannot read property 'debugElement' of undefined
at <Jasmine>
at UserContext.<anonymous> src/app/components/home/home.component.spec.ts:28:30)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke node_modules/zone.js/dist/zone.js:388:1)
at AsyncTestZoneSpec.push../node_modules/zone.js/dist/zone-testing.js.AsyncTestZoneSpec.onInvoke node_modules/zone.js/dist/zone-testing.js:713:1)
at ProxyZoneSpec.push../node_modules/zone.js/dist/zone-testing.js.ProxyZoneSpec.onInvoke node_modules/zone.js/dist/zone-testing.js:285:1)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke node_modules/zone.js/dist/zone.js:387:1)
at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runGuarded node_modules/zone.js/dist/zone.js:151:1)
at runInTestZone node_modules/zone.js/dist/zone-testing.js:841:1)
at UserContext.<anonymous> node_modules/zone.js/dist/zone-testing.js:775:1)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke node_modules/zone.js/dist/zone.js:388:1)
at ProxyZoneSpec.push../node_modules/zone.js/dist/zone-testing.js.ProxyZoneSpec.onInvoke node_modules/zone.js/dist/zone-testing.js:288:1)
Chrome 67.0.3396 (Windows 10 0.0.0) HomeComponent should create FAILED
<span class="expand-on-toolbar"></span>
<span>
<button mat-icon-button [ERROR ->][mat-menu-trigger-for]="menu">
<mat-icon>more_vert</mat-icon>
</button>
1. If 'mat-icon' is an Angular component, then verify that it is part of this module.
2. If 'mat-icon' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
<span>
<button mat-icon-button [mat-menu-trigger-for]="menu">
[ERROR ->]<mat-icon>more_vert</mat-icon>
</button>
</span>
1. If 'mat-toolbar' is an Angular component, then verify that it is part of this module.
error properties: Object({ ngSyntaxError: true, ngParseErrors: [ Can't bind to 'mat-menu-trigger-for' since it isn't a known property of 'button'. ("
"): ng:///DynamicTestModule/HomeComponent.html@5:30, 'mat-icon' is not a known element:
"): ng:///DynamicTestModule/HomeComponent.html@6:8, 'mat-toolbar' is not a known element:
2. If 'mat-toolbar' is a We ...
Error: Template parse errors:
at <Jasmine>
at syntaxError node_modules/@angular/compiler/fesm5/compiler.js:215:1)
at TemplateParser.push../node_modules/@angular/compiler/fesm5/compiler.js.TemplateParser.parse node_modules/@angular/compiler/fesm5/compiler.js:14702:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._parseTemplate node_modules/@angular/compiler/fesm5/compiler.js:22709:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileTemplate node_modules/@angular/compiler/fesm5/compiler.js:22696:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:22639:48
at <Jasmine>
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileComponents node_modules/@angular/compiler/fesm5/compiler.js:22639:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:22557:1
at Object.then node_modules/@angular/compiler/fesm5/compiler.js:206:33)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileModuleAndAllComponents node_modules/@angular/compiler/fesm5/compiler.js:22555:1)
<span class="expand-on-toolbar"></span>
<span>
<button mat-icon-button [ERROR ->][mat-menu-trigger-for]="menu">
<mat-icon>more_vert</mat-icon>
</button>
1. If 'mat-icon' is an Angular component, then verify that it is part of this module.
2. If 'mat-icon' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
<span>
<button mat-icon-button [mat-menu-trigger-for]="menu">
[ERROR ->]<mat-icon>more_vert</mat-icon>
</button>
</span>
1. If 'mat-toolbar' is an Angular component, then verify that it is part of this module.
Error: Template parse errors:
error properties: Object({ ngSyntaxError: true, ngParseErrors: [ Can't bind to 'mat-menu-trigger-for' since it isn't a known property of 'button'. ("
"): ng:///DynamicTestModule/HomeComponent.html@5:30, 'mat-icon' is not a known element:
"): ng:///DynamicTestModule/HomeComponent.html@6:8, 'mat-toolbar' is not a known element:
2. If 'mat-toolbar' is a We ...
at <Jasmine>
at syntaxError node_modules/@angular/compiler/fesm5/compiler.js:215:1)
at TemplateParser.push../node_modules/@angular/compiler/fesm5/compiler.js.TemplateParser.parse node_modules/@angular/compiler/fesm5/compiler.js:14702:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._parseTemplate node_modules/@angular/compiler/fesm5/compiler.js:22709:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileTemplate node_modules/@angular/compiler/fesm5/compiler.js:22696:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:22639:48
at <Jasmine>
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileComponents node_modules/@angular/compiler/fesm5/compiler.js:22639:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:22557:1
at Object.then node_modules/@angular/compiler/fesm5/compiler.js:206:33)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileModuleAndAllComponents node_modules/@angular/compiler/fesm5/compiler.js:22555:1)
Expected undefined to be truthy.
at <Jasmine>
at UserContext.<anonymous> src/app/components/home/home.component.spec.ts:24:23)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke node_modules/zone.js/dist/zone.js:388:1)
at ProxyZoneSpec.push../node_modules/zone.js/dist/zone-testing.js.ProxyZoneSpec.onInvoke node_modules/zone.js/dist/zone-testing.js:288:1)
Chrome 67.0.3396 (Windows 10 0.0.0) HomeComponent should create FAILED
<span class="expand-on-toolbar"></span>
<span>
<button mat-icon-button [ERROR ->][mat-menu-trigger-for]="menu">
<mat-icon>more_vert</mat-icon>
</button>
1. If 'mat-icon' is an Angular component, then verify that it is part of this module.
2. If 'mat-icon' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
<span>
<button mat-icon-button [mat-menu-trigger-for]="menu">
[ERROR ->]<mat-icon>more_vert</mat-icon>
</button>
</span>
1. If 'mat-toolbar' is an Angular component, then verify that it is part of this module.
error properties: Object({ ngSyntaxError: true, ngParseErrors: [ Can't bind to 'mat-menu-trigger-for' since it isn't a known property of 'button'. ("
"): ng:///DynamicTestModule/HomeComponent.html@5:30, 'mat-icon' is not a known element:
"): ng:///DynamicTestModule/HomeComponent.html@6:8, 'mat-toolbar' is not a known element:
2. If 'mat-toolbar' is a We ...
Error: Template parse errors:
at <Jasmine>
at syntaxError node_modules/@angular/compiler/fesm5/compiler.js:215:1)
at TemplateParser.push../node_modules/@angular/compiler/fesm5/compiler.js.TemplateParser.parse node_modules/@angular/compiler/fesm5/compiler.js:14702:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._parseTemplate node_modules/@angular/compiler/fesm5/compiler.js:22709:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileTemplate node_modules/@angular/compiler/fesm5/compiler.js:22696:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:22639:48
at <Jasmine>
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileComponents node_modules/@angular/compiler/fesm5/compiler.js:22639:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:22557:1
at Object.then node_modules/@angular/compiler/fesm5/compiler.js:206:33)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileModuleAndAllComponents node_modules/@angular/compiler/fesm5/compiler.js:22555:1)
<span class="expand-on-toolbar"></span>
<span>
<button mat-icon-button [ERROR ->][mat-menu-trigger-for]="menu">
<mat-icon>more_vert</mat-icon>
</button>
1. If 'mat-icon' is an Angular component, then verify that it is part of this module.
2. If 'mat-icon' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
<span>
<button mat-icon-button [mat-menu-trigger-for]="menu">
[ERROR ->]<mat-icon>more_vert</mat-icon>
</button>
</span>
1. If 'mat-toolbar' is an Angular component, then verify that it is part of this module.
Error: Template parse errors:
error properties: Object({ ngSyntaxError: true, ngParseErrors: [ Can't bind to 'mat-menu-trigger-for' since it isn't a known property of 'button'. ("
"): ng:///DynamicTestModule/HomeComponent.html@5:30, 'mat-icon' is not a known element:
"): ng:///DynamicTestModule/HomeComponent.html@6:8, 'mat-toolbar' is not a known element:
2. If 'mat-toolbar' is a We ...
at <Jasmine>
at syntaxError node_modules/@angular/compiler/fesm5/compiler.js:215:1)
at TemplateParser.push../node_modules/@angular/compiler/fesm5/compiler.js.TemplateParser.parse node_modules/@angular/compiler/fesm5/compiler.js:14702:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._parseTemplate node_modules/@angular/compiler/fesm5/compiler.js:22709:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileTemplate node_modules/@angular/compiler/fesm5/compiler.js:22696:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:22639:48
at <Jasmine>
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileComponents node_modules/@angular/compiler/fesm5/compiler.js:22639:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:22557:1
at Object.then node_modules/@angular/compiler/fesm5/compiler.js:206:33)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileModuleAndAllComponents node_modules/@angular/compiler/fesm5/compiler.js:22555:1)
Expected undefined to be truthy.
at <Jasmine>
at UserContext.<anonymous> src/app/components/home/home.component.spec.ts:24:23)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke node_modules/zone.js/dist/zone.js:388:1)
at ProxyZoneSpec.push../node_modules/zone.js/dist/zone-testing.js.ProxyZoneSpec.onInvoke node_modules/zone.js/dist/zone-testing.js:288:1)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke node_modules/zone.js/dist/zone.js:387:1)
Chrome 67.0.3396 (Windows 10 0.0.0): Executed 2 of 3 (2 FAILED) (0 secs / 0.088 secs)
Chrome 67.0.3396 (Windows 10 0.0.0) HomeComponent should create FAILED
<span class="expand-on-toolbar"></span>
<span>
<button mat-icon-button [ERROR ->][mat-menu-trigger-for]="menu">
<mat-icon>more_vert</mat-icon>
</button>
1. If 'mat-icon' is an Angular component, then verify that it is part of this module.
2. If 'mat-icon' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
<span>
<button mat-icon-button [mat-menu-trigger-for]="menu">
[ERROR ->]<mat-icon>more_vert</mat-icon>
</button>
</span>
1. If 'mat-toolbar' is an Angular component, then verify that it is part of this module.
error properties: Object({ ngSyntaxError: true, ngParseErrors: [ Can't bind to 'mat-menu-trigger-for' since it isn't a known property of 'button'. ("
"): ng:///DynamicTestModule/HomeComponent.html@5:30, 'mat-icon' is not a known element:
"): ng:///DynamicTestModule/HomeComponent.html@6:8, 'mat-toolbar' is not a known element:
2. If 'mat-toolbar' is a We ...
Error: Template parse errors:
at <Jasmine>
at syntaxError node_modules/@angular/compiler/fesm5/compiler.js:215:1)
at TemplateParser.push../node_modules/@angular/compiler/fesm5/compiler.js.TemplateParser.parse node_modules/@angular/compiler/fesm5/compiler.js:14702:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._parseTemplate node_modules/@angular/compiler/fesm5/compiler.js:22709:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileTemplate node_modules/@angular/compiler/fesm5/compiler.js:22696:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:22639:48
at <Jasmine>
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileComponents node_modules/@angular/compiler/fesm5/compiler.js:22639:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:22557:1
at Object.then node_modules/@angular/compiler/fesm5/compiler.js:206:33)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileModuleAndAllComponents node_modules/@angular/compiler/fesm5/compiler.js:22555:1)
<span class="expand-on-toolbar"></span>
<span>
<button mat-icon-button [ERROR ->][mat-menu-trigger-for]="menu">
<mat-icon>more_vert</mat-icon>
</button>
1. If 'mat-icon' is an Angular component, then verify that it is part of this module.
2. If 'mat-icon' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
<span>
<button mat-icon-button [mat-menu-trigger-for]="menu">
[ERROR ->]<mat-icon>more_vert</mat-icon>
</button>
</span>
1. If 'mat-toolbar' is an Angular component, then verify that it is part of this module.
Error: Template parse errors:
error properties: Object({ ngSyntaxError: true, ngParseErrors: [ Can't bind to 'mat-menu-trigger-for' since it isn't a known property of 'button'. ("
"): ng:///DynamicTestModule/HomeComponent.html@5:30, 'mat-icon' is not a known element:
"): ng:///DynamicTestModule/HomeComponent.html@6:8, 'mat-toolbar' is not a known element:
2. If 'mat-toolbar' is a We ...
at <Jasmine>
at syntaxError node_modules/@angular/compiler/fesm5/compiler.js:215:1)
at TemplateParser.push../node_modules/@angular/compiler/fesm5/compiler.js.TemplateParser.parse node_modules/@angular/compiler/fesm5/compiler.js:14702:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._parseTemplate node_modules/@angular/compiler/fesm5/compiler.js:22709:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileTemplate node_modules/@angular/compiler/fesm5/compiler.js:22696:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:22639:48
at <Jasmine>
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileComponents node_modules/@angular/compiler/fesm5/compiler.js:22639:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:22557:1
at Object.then node_modules/@angular/compiler/fesm5/compiler.js:206:33)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileModuleAndAllComponents node_modules/@angular/compiler/fesm5/compiler.js:22555:1)
Expected undefined to be truthy.
at <Jasmine>
at UserContext.<anonymous> src/app/components/home/home.component.spec.ts:24:23)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke node_modules/zone.js/dist/zone.js:388:1)
at ProxyZoneSpec.push../node_modules/zone.js/dist/zone-testing.js.ProxyZoneSpec.onInvoke node_modules/zone.js/dist/zone-testing.js:288:1)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke node_modules/zone.js/dist/zone.js:387:1)
LOG: 'AppConfig', Object{production: false, environment: 'LOCAL'}
Chrome 67.0.3396 (Windows 10 0.0.0): Executed 2 of 3 (2 FAILED) (0 secs / 0.088 secs)
LOG: 'AppConfig', Object{production: false, environment: 'LOCAL'}
LOG: 'Mode web'
Chrome 67.0.3396 (Windows 10 0.0.0): Executed 2 of 3 (2 FAILED) (0 secs / 0.088 secs)
Chrome 67.0.3396 (Windows 10 0.0.0): Executed 3 of 3 (2 FAILED) (0.315 secs / 0.235 secs)
TOTAL: 2 FAILED, 1 SUCCESS
TOTAL: 2 FAILED, 1 SUCCESS
TOTAL: 2 FAILED, 1 SUCCESS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment