Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

155
Vistas
stop npm test clear output

I am running npm test on a react project, that runs unit tests using jest and react testing library. The log of tests (including console log lines that I added to debug) is printed and then deleted after running the tests (probably being deleted after each test or at some limit). finally a summary of the run is shown but it does not help understand the issue.

how can I stop my npm test output being deleted?

about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

nevermind, it was the default terminal (iterm) scrollback buffer limit, which is 1000 lines. apparently, after a fresh setup, the first time I hit the limit was the tests.

here is how to make it unlimited.

enter image description here

about 4 years ago · Juan Pablo Isaza Denunciar

0

You can also pipe the output of the terminal to a file eg

npm run test >> mytest.txt

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda