Fix output after test finished (#2564)
Fix output after test finished (#2564)

* Fix output after test finished

As per comment

* Add more flushes
matrix-org/matrix-js-sdk,matrix-org/matrix-js-sdk,matrix-org/matrix-js-sdk,matrix-org/matrix-js-sdk