Uploaded image for project: '[Read Only] - Addon Channel Manager'
  1. [Read Only] - Addon Channel Manager
  2. CHANNELMGR-1583

Running unit tests prints many errors in the console, cause by form.controls.name

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 5.2.0
    • 5.2.0
    • None

    Description

      There are a lot of errors thrown, but the tests are passing.

      That is because the mocking of some things in the name-url-fields components (such as setting the component.form values) are causing errors that will not fail the tests.

      The solution will be to use the right method to set the value for a specific component form control, and also wait until the form is initialised. In the tests this can be done with

      fixture.whenStable().then()
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            aweinberger Ariel Weinberger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: