How to use the @delon/testing.PageG2 function in @delon/testing

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 / 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 / single-bar / single-bar.spec.ts View on Github external
configureTestSuite(() => {
      page = new PageG2().genModule(G2SingleBarModule, TestComponent);
    });
github ng-alain / delon / packages / chart / gauge / gauge.spec.ts View on Github external
beforeEach(fakeAsync(() => {
      page = new PageG2().makeModule(G2GaugeModule, TestComponent);
    }));
github ng-alain / delon / packages / chart / timeline / timeline.spec.ts View on Github external
configureTestSuite(() => {
      page = new PageG2().genModule(G2TimelineModule, TestComponent);
    });
github ng-alain / delon / packages / chart / water-wave / water-wave.spec.ts View on Github external
configureTestSuite(() => {
      page = new PageG2().genModule(G2WaterWaveModule, TestComponent);
    });
github ng-alain / delon / packages / chart / bar / bar.spec.ts View on Github external
beforeEach(fakeAsync(() => {
      page = new PageG2().makeModule(G2BarModule, TestComponent);
    }));
github ng-alain / delon / packages / chart / mini-progress / mini-progress.spec.ts View on Github external
beforeEach(() => {
    ({ fixture, context } = createTestContext(TestComponent));
    fixture.detectChanges();
    page = new PageG2(fixture);
  });
github ng-alain / delon / packages / chart / tag-cloud / tag-cloud.spec.ts View on Github external
configureTestSuite(() => {
      page = new PageG2().genModule(G2TagCloudModule, TestComponent);
    });
github ng-alain / delon / packages / chart / mini-area / mini-area.spec.ts View on Github external
configureTestSuite(() => {
      page = new PageG2().genModule(G2MiniAreaModule, TestComponent);
    });