How to use @delon/testing - 10 common examples

To help you get started, we’ve selected a few @delon/testing examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ng-alain / delon / packages / abc / page-header / page-header.spec.ts View on Github external
it('General Configuration', inject([PageHeaderConfig], (cog: PageHeaderConfig) => {
      cog.home = 'H';
      cog.recursiveBreadcrumb = false;
      ({ fixture, dl, context } = createTestContext(TestComponent));
      expect(context.comp.home).toBe('H');
      expect(context.comp.autoBreadcrumb).toBe(true);
      expect(context.comp.recursiveBreadcrumb).toBe(false);
    }));
github ng-alain / delon / packages / chart / mini-bar / mini-bar.spec.ts View on Github external
beforeEach(fakeAsync(() => {
        page = new PageG2().makeModule(G2MiniBarModule, TestComponent);
      }));
      it('should be working', () => {
github ng-alain / delon / packages / chart / pie / pie.spec.ts View on Github external
beforeEach(() => {
      page = new PageG2().makeModule(G2PieModule, TestFullComponent, {
        dc: false,
      });
      page.context.inner = 0.1;
      page.context.data = [{ x: '1', y: 100 }];
    });
    it('should be working', fakeAsync(() => {
github ng-alain / delon / packages / chart / mini-area / mini-area.spec.ts View on Github external
  it('#delay', fakeAsync(() => checkDelay(G2MiniAreaModule, TestComponent)));
});
github ng-alain / delon / packages / chart / radar / radar.spec.ts View on Github external
  it('#delay', fakeAsync(() => checkDelay(G2RadarModule, TestComponent)));
});
github ng-alain / delon / packages / chart / pie / pie.spec.ts View on Github external
  it('#delay', fakeAsync(() => checkDelay(G2PieModule, TestFullComponent)));
});
github ng-alain / delon / packages / chart / timeline / timeline.spec.ts View on Github external
  it('#delay', fakeAsync(() => checkDelay(G2TimelineModule, TestComponent)));
});
github ng-alain / delon / packages / chart / gauge / gauge.spec.ts View on Github external
  it('#delay', fakeAsync(() => checkDelay(G2GaugeModule, TestComponent)));
});
github ng-alain / delon / packages / chart / tag-cloud / tag-cloud.spec.ts View on Github external
  it('#delay', fakeAsync(() => checkDelay(G2TagCloudModule, TestComponent)));
});
github ng-alain / delon / packages / chart / water-wave / water-wave.spec.ts View on Github external
  it('#delay', fakeAsync(() => checkDelay(G2WaterWaveModule, TestComponent)));
});