title: If 'app-user' is an Angular component and it has 'InwelcomeMsg' input, then verify that it is part of this module
body: <p>I am getting an error as follows when i test the child component:</p>
  <p><code>1. If 'app-user' is an Angular component and it has 'InwelcomeMsg' input, then verify that it is part of this module.</code></p>
  <p>on testing the component. i am using <code>testing-library</code> for angular with <code>jestjs</code>. not able to figure out the issue.</p>
  <p>container component.ts:</p>
  <pre><code>import { Component, OnInit, Output } from '@angular/core';
  
  @Component({
    selector: 'app-shell-user',
    templateUrl: './shell-user.component.html',
    styleUrls: ['./shell-user.component.scss']
  })
  export class ShellUserComponent implements OnInit {
  
    @Output() OutwellcomeMsg: string | undefined;
  
    title = &quot;Welcome to user!!&quot;
  
    constructor() { }
  
    ngOnInit(): void {
      this.OutwellcomeMsg = this.title;
    }
  
  }
  </code></pre>
  <p>html:</p>
  <pre><code>&lt;section&gt;
      &lt;app-user [InwelcomeMsg]=&quot;OutwellcomeMsg&quot;&gt;&lt;/app-user&gt;
  &lt;/section&gt;
  </code></pre>
  <p>child component.ts:</p>
  <pre><code>import { Component, Input, OnInit } from '@angular/core';
  
  @Component({
    selector: 'app-user',
    templateUrl: './user.component.html',
    styleUrls: ['./user.component.scss']
  })
  export class UserComponent implements OnInit {
  
    @Input()
    InwelcomeMsg!: string | undefined;
  
    constructor() { }
  
    ngOnInit(): void { }
  
  }
  </code></pre>
  <p>child.test.spec:</p>
  <pre><code>import { render, screen } from '@testing-library/angular';
  import { UserComponent } from './user.component';
  
  describe('UserComponent', () =&gt; {
    it('should find the paragrap text &quot;Hi Adil&quot;', async () =&gt; {
  
      await render(UserComponent, {
        declarations: [],
        componentProperties: {
          InwelcomeMsg: &quot;Hi Adil&quot;
        } as any
      });
  
      expect(await screen.findByText(/Hi Adil/i)).toBeTruthy();
  
    });
  
  });
  </code></pre>
  <p>do not know what i missing her in testing. any one help me?</p>