Need to exec something on .done() without having to write a custom reporter.
- Lenguaje dominante
- JavaScript
- Estrellas
- 1.9k
- Forks
- 359
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
The built-in reporters work great. But I need to be able to run something on `.done()` and I don't see any way of doing that other than to write my own reporter. It would be painful to have to write and maintain a custom reporter just for the sake of adding in some "execute this callback when all done" functionality, when I don't want to change any other behavior.
Can you add in the ability to do this?
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Empieza leyendo el flujo del reporter integrado y el punto de entrada `.done()` para ver dónde se gestiona la finalización. Define el comportamiento del callback en ese punto de finalización y verifica que se ejecute después de que terminen todas las pruebas, sin cambiar el comportamiento existente del reporter.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript, node.js
- Área
- testing
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100