You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CLI: Fix TAP compliance for test plan when using QUnit.test.only()
Cherry-picked from 2fcafa4 (3.0.0-dev).
> We correctly prevent registration, counting, and execution of non-only
> tests after the first QUnit.test.only call. And we correctly undo
> the execution and registration of any QUnit.test calls before the
> first QUnit.test.only call.
> But, we did not clear the test *count*. This left the test count
> emitted in `runEnd` event, and thus in the "1..X" test plan printed
> by the TAP reporter, inaccurate. This has implications for TAP-based
> test runners (such as QTap) as those rely on this being accurate to
> declare a run as finished, stop waiting for results, and stop the
> browser process.
0 commit comments