message: Fixes error message in select trigger client unit tests.
  Fixes null object that was causing an error to be displayed during client unit tests.
diff: @@ -30,10 +30,6 @@ describe('FlogoSelectTrigger component', () => {
  },
  ];
  - function compileComponent() {
  - return TestBed.compileComponents();
  - }
  -
  beforeEach(() => {
  TestBed.configureTestingModule({
  imports: [FakeRootLanguageModule, TriggersModule],
  @@ -44,12 +40,14 @@ describe('FlogoSelectTrigger component', () => {
  HttpUtilsService,
  ],
  });
  + return TestBed.compileComponents();
  });
  it('Should display 4 installed triggers', done => {
  - compileComponent().then(() => {
  fixture = TestBed.createComponent(FlogoSelectTriggerComponent);
  comp = fixture.componentInstance;
  + comp.appDetails = { appId: 'foo' };
  + fixture.detectChanges();
  comp.loadInstalledTriggers().then(() => {
  fixture.detectChanges();
  const res: Array<DebugElement> = fixture.debugElement.queryAll(
  @@ -59,10 +57,8 @@ describe('FlogoSelectTrigger component', () => {
  done();
  });
  });
  - });
  it('Should display 2 existing triggers', done => {
  - compileComponent().then(() => {
  fixture = TestBed.createComponent(FlogoSelectTriggerComponent);
  comp = fixture.componentInstance;
  const existing = function() {
  @@ -78,10 +74,8 @@ describe('FlogoSelectTrigger component', () => {
  done();
  });
  });
  - });
  it('Should select an installed trigger', done => {
  - compileComponent().then(() => {
  fixture = TestBed.createComponent(FlogoSelectTriggerComponent);
  comp = fixture.componentInstance;
  const existing = function() {
  @@ -100,19 +94,15 @@ describe('FlogoSelectTrigger component', () => {
  res[0].nativeElement.click(res[0]);
  });
  });
  - });
  it('Should select an existing trigger', done => {
  - compileComponent().then(() => {
  fixture = TestBed.createComponent(FlogoSelectTriggerComponent);
  comp = fixture.componentInstance;
  const existing = function() {
  return Promise.resolve(existingMock);
  };
  comp.addTriggerToAction.subscribe(data => {
  - expect(data.triggerData.description).toEqual(
  - 'Description of Simple COAP Trigger'
  - );
  + expect(data.triggerData.description).toEqual('Description of Simple COAP Trigger');
  done();
  });
  comp.getExistingTriggers = existing;
  @@ -125,4 +115,3 @@ describe('FlogoSelectTrigger component', () => {
  });
  });
  });
  -});
  