Open MartynenkoA opened 5 years ago
Trying to test component but have error {{[ERROR ->] moment | amTimeAgo }}
TestBed.configureTestingModule({ declarations: [ Component, TimeAgoPipe ] }) .compileComponents();
}));
How I can test component with it?
@MartynenkoA the pipe is called timeAgo, not amTimeAgo.
<td>{{email.date | timeAgo}}</td>
Trying to test component but have error {{[ERROR ->] moment | amTimeAgo }}
}));
How I can test component with it?