summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/drawingBoard/service-planning/objectsToTree/dynamicInputs.service.spec.ts
blob: 56bf94f4858b191d0efde554d1a63dc2c1c7ef68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import {DynamicInputsService} from "./dynamicInputs.service";
import {HttpClientTestingModule} from "@angular/common/http/testing";
import {getTestBed, TestBed} from "@angular/core/testing";
import {NgReduxTestingModule} from "@angular-redux/store/testing";
describe('DynamicInputs  service', () => {
  let injector;
  let service: DynamicInputsService;

  beforeAll(done => (async () => {
    TestBed.configureTestingModule({
      imports: [HttpClientTestingModule, NgReduxTestingModule],
      providers: [
        DynamicInputsService
      ]
    });
    await TestBed.compileComponents();
    injector = getTestBed();
    service = injector.get(DynamicInputsService);
  })().then(done).catch(done.fail));

  test('DynamicInputs should be defined', () => {
    expect(service).toBeDefined();
  });
});