How to shallow test a component with an `entryComponents`? : <p>For example, say you have the following component:</p>

<pre><code>import { Another } from "./Another";
@Component({
    entryComponents: [
        Another
    ]
})
export class App {}
</code></pre>

<p>Even when using <code>NO_ERRORS_SCHEMA</code> I still have to include <code>Another</code> as part of the test declarations:</p>

<pre><code>import { ComponentFixture, TestBed } from "@angular/core/testing";
import { NO_ERRORS_SCHEMA } from '@angular/core';
import { App } from "./App";
import { Another } from "./Another";

describe("App", () =&gt; {
  let comp: App;
  let fixture: ComponentFixture&lt;App&gt;;

  beforeEach(() =&gt; {
    TestBed.configureTestingModule({
      declarations: [ App, Another ],
      schemas: [ NO_ERRORS_SCHEMA ]
    });
    fixture = TestBed.createComponent(App);
    comp = fixture.componentInstance;
  });

  it("can load instance", () =&gt; {
    expect(comp).toBeTruthy();
  });

});
</code></pre>
