mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 16:36:15 -04:00
tests: Keep the #mocha-stats
div visible
This commit is contained in:
parent
ea4500ef64
commit
f5046f4b18
2 changed files with 11 additions and 2 deletions
|
@ -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;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue