WEB-10387 Mocha console log statements are not correctly aligned to their encasing tests
(cherry picked from commit 6018640)