Fix NighwatchJS Angular output wrapping incorrectly

16 Views Asked by At

I've installed Angular with ng new with all defaults, and then used ng e2e to scaffold NightwatchJS with all defaults. The tests run just fine now, but the output is unreadable on my Windows shells because everything seems to be on one line.

Example output on a small Powershell terminal:

small terminal window, wrapping text

Or a somewhat wider terminal:

medium size terminal also wrapping text

Extremely wide terminals (>2000px) still exhibit this wrapping behavior.

I can understand what the intended output is because if I set the width of my terminal exactly right it renders like this:

shell output with nice rendering

All of this happens for me on Windows 10, on both cmd and powershell shells, either vanilla or running in the conemu console emulator. It also happens on the "Git Bash" (MINGW64) shell.

How can I fix this line endings issue and get properly formatted output in my shell?

0

There are 0 best solutions below