Guest User

Untitled

a guest
Feb 21st, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. Error: Found the synthetic listener @transform.start. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.
  2.  
  3. import { async, ComponentFixture, TestBed } from '@angular/core/testing';
  4.  
  5. import { RouterTestingModule } from '@angular/router/testing';
  6. import { MatSidenavModule } from '@angular/material/sidenav';
  7.  
  8. import { AngularNavigationComponent } from './angular-navigation.component';
  9.  
  10. describe('AngularNavigationComponent', () => {
  11. let component: AngularNavigationComponent;
  12. let fixture: ComponentFixture<AngularNavigationComponent>;
  13.  
  14. beforeEach(
  15. async(() => {
  16. TestBed.configureTestingModule({
  17. declarations: [AngularNavigationComponent],
  18. imports: [RouterTestingModule, MatSidenavModule]
  19. }).compileComponents();
  20. })
  21. );
  22.  
  23. beforeEach(() => {
  24. fixture = TestBed.createComponent(AngularNavigationComponent);
  25. component = fixture.componentInstance;
  26. fixture.detectChanges();
  27. });
  28.  
  29. it('should create', () => {
  30. expect(component).toBeTruthy();
  31. });
  32. });
  33.  
  34. import { Component, OnInit } from '@angular/core';
  35. import { MatSidenavModule } from '@angular/material/sidenav';
  36. import { RouterLink } from '@angular/router';
  37.  
  38. @Component({
  39. selector: 'mysupercustomcat-navigation',
  40. templateUrl: './angular-navigation.component.html',
  41. styleUrls: ['./angular-navigation.component.scss']
  42. })
  43. export class AngularNavigationComponent implements OnInit {
  44. constructor() {}
  45.  
  46. ngOnInit() {}
  47. }
Add Comment
Please, Sign In to add comment