title: getting Error: Unexpected value 'undefined' declared by the module 'DynamicTestModule' using jest+spectator angular 9
body: <p>I am using angular 9 and replaced the default unit testing of angular to spectator and jest after deep research, its fun and I have few tests that work fine, but suddenly I have this issue when trying to test some parent component, resulting ugly error (see question title) which I can't figure out how to resolve, will be glad for some help, the code is below</p>
  
  <p>other similar tests are working but this one gets the unfriendly msg on the title even when I remove all markup of the template and write just stupid div, and cancel the mocking on the test I still get this bummer... tried restarting servers with no help.</p>
  
  <p>spec.ts</p>
  
  <pre><code>
      import { Spectator, createComponentFactory } from '@ngneat/spectator/jest';
      import { PlannerScreenComponent } from './planner-screen.component';
      import { SlotsListComponent } from '../planner/components/slots-list/slots-list.component';
      import { MockComponent } from 'ng-mocks';
  
      describe('PlannerScreenComponent suit', () =&gt; {
        let spectator: Spectator&lt;PlannerScreenComponent&gt;;
        const createComponent: () =&gt; Spectator&lt;PlannerScreenComponent&gt; = createComponentFactory({
          component: PlannerScreenComponent,
          declarations: [MockComponent(SlotsListComponent)]
        });
  
        beforeEach(() =&gt; (spectator = createComponent()));
  
        it('should create plannerScreenComponent ', () =&gt; {
          const plannerScreenComponent = spectator.component;
          expect(plannerScreenComponent).toBeTruthy();
        });
      });
  
  </code></pre>
  
  <p>component.ts</p>
  
  <pre><code>
      import { Component, OnInit, Input } from '@angular/core';
  
      @Component({
        selector: 'planner-screen',
        templateUrl: './planner-screen.component.html',
        styleUrls: ['./planner-screen.component.scss']
      })
      export class PlannerScreenComponent implements OnInit {
        @Input() isSplittedScreen = false;
        constructor() {}
  
        ngOnInit() {}
      }
  
  </code></pre>
  
  <p>component.html</p>
  
  <pre><code>    section [class.splitted-screen]="isSplittedScreen" class="planner-screen-wrapper"&gt;
            &lt;aside class="left-ruller-container"&gt;&lt;/aside&gt;
            &lt;div class="top-middle-title"&gt;
              &lt;div&gt;title&lt;/div&gt;
            &lt;/div&gt;
            &lt;div class="main-panel-container"&gt;
              &lt;slots-list&gt;&lt;/slots-list&gt;
            &lt;/div&gt;
            &lt;aside class="right-ruller-container"&gt;&lt;/aside&gt;
          &lt;/section&gt;
  </code></pre>