• Prints a line of test results to the HTML page.

    Tests should schedule themselves to run immediately with setTimeout so that the test results can be written to the HTML page as they occur. Otherwise (not using setTimeout) the page will not refresh until all the tests have finished.

    The warning flag is used to make visible those tests that reproduce errors which need to be fixed.

    Parameters

    • s: string

      the string to print

    • Optional opt_error: boolean

      if true then string is highlighted as an error

    • Optional opt_warning: boolean

      if true then string is highlighted as a warning

    Returns void

Generated using TypeDoc