tests: Keep the #mocha-stats div visible

This commit is contained in:
Richard Hansen 2021-06-09 00:29:41 -04:00
parent ea4500ef64
commit f5046f4b18
2 changed files with 11 additions and 2 deletions

View file

@ -50,7 +50,7 @@ $(() => (async () => {
});
// Scroll down test display after each test
const mochaEl = $('#mocha')[0];
const mochaEl = $('#mocha-report')[0];
runner.on('test', () => {
mochaEl.scrollTop = mochaEl.scrollHeight;
});