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.
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.