Actually i make one test unit that print this result:
info: serving app on http://127.0.0.1:4000
Usuario
superagent: Enable experimental feature http2
✓ realiza um registro de usuário (511ms)
✓ realiza login com o usuário registrado (142ms)
✓ realiza login com dados incorretos (145ms)
PASSED
total : 3
passed : 3
time : 2s
If i try to export this log in format .txt i have several problems with special characters and accents, as you can see:
adonis test > yourfile.txt
When i open the "yourfile.txt":
[32minfo[39m: serving app on http://127.0.0.1:4000
Usuario
Ô£ô realiza um registro de usu├írio (456ms)
Ô£ô realiza login com o usu├írio registrado (135ms)
Ô£ô realiza login com dados incorretos (126ms)
PASSED
total : 3
passed : 3
time : 1s
I'm thinking if there's a way to export this log in pdf to workaround this problem or if there's a way to show the special characters/accents correctly.
if i do a adonis test > yourfile.pdf
the pdf generated is broken.