So an angular 2 class I'm testing with karma (trough npm) doesn't run due to this error:
The <template> element is deprecated. Use <ng-template> instead
("[WARNING ->]<template><div class="mat-autocomplete-panel" role="listbox" [id]="id" [ngClass]="_getClassList()" #p"):
ng:///MdAutocompleteModule/MdAutocomplete.html@0:0'
Only I don't use a template tag in my view, it seems that on a lower level material design is using it.
So how would I go about solving this seeing as I can't adjust MD code, could I maybe surpress it?
The test does not run and throws a ZoneAwareError.
Aucun commentaire:
Enregistrer un commentaire