How to use the ang-jsoneditor.NgJsonEditorModule.forRoot function in ang-jsoneditor

To help you get started, we’ve selected a few ang-jsoneditor 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 mariohmol / ang-jsoneditor / src / app / app.component.spec.ts View on Github external
beforeEach(async(() => {
    TestBed.configureTestingModule({
      imports: [
        NgJsonEditorModule.forRoot(),
        RouterTestingModule.withRoutes(routes),
        FormsModule,
        ReactiveFormsModule
      ],
      declarations: [
        AppComponent, DemoComponent, ShowComponent
      ]
    }).compileComponents();
  }));
github mariohmol / ang-jsoneditor / src / app / demo / demo.component.spec.ts View on Github external
beforeEach(async(() => {
    TestBed.configureTestingModule({
      imports: [
        NgJsonEditorModule.forRoot(),
        FormsModule,
        ReactiveFormsModule
      ],
      declarations: [ DemoComponent, ShowComponent ]
    })
    .compileComponents();
  }));

ang-jsoneditor

[![Build Status](https://travis-ci.org/mariohmol/ang-jsoneditor.svg?branch=master)](https://travis-ci.org/mariohmol/ang-jsoneditor)

MIT
Latest version published 2 days ago

Package Health Score

71 / 100
Full package analysis