This must be an import problem (MaterializeDirectives are not being recognized). For example, navbar.component.spec.ts fails because Karma cannot recognize [materializeParams] directive:
<a *ngIf="this.authenticationService.isLoggedIn()" class="button-collapse" materialize="sideNav" data-activates="nav-mobile" [materializeParams]="[{closeOnClick: true}]"><i class="material-icons">menu</i></a>
Log after running ng test:
Chrome 53.0.2785 (Linux 0.0.0) login-modal component without overriding should have Welcome Title FAILED Can't bind to 'materializeActions' since it isn't a known property of 'div'. ("<div id="modal" class="modal" materialize [ERROR ->][materializeActions]="actions"> <div class="modal-content"> "): LoginModalComponent@0:42
I have tried multiple approaches, changing how things are imported or modifying karma.conf, but nothing seems to work for now.