QUnit.config.scrolltop

version added: 1.14.0.

Description

In browser environments, scroll to the top of the page after the tests are done.

type boolean
default true

By default, QUnit scrolls the browser to the top of the page when tests are done. This reverses any programmatic scrolling performed by the application or its tests.

Set this option to false to disable this behaviour, and thus leave the page in its final scroll position.