In Angular 7, When requesting for new set of data within a specific date range, datatables holding old data set with some more other data. Not rendering or loading correct set of data. tried using destroy and trigger. Need help !
-- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ReportsMissedBookingsComponent } from './reports-missed-bookings.component'; describe('ReportsMissedBookingsComponent', () => { let component: ReportsMissedBookingsComponent; let fixture: ComponentFixture<ReportsMissedBookingsComponent>; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [ ReportsMissedBookingsComponent ] }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(ReportsMissedBookingsComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });