Need to exec something on .done() without having to write a custom reporter.
- Langage dominant
- JavaScript
- Étoiles
- 1.9k
- Forks
- 359
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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?
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par lire le flux du reporter intégré et le point d’entrée `.done()` afin de voir où la fin est gérée. Définissez le comportement du callback à ce point de fin et vérifiez qu’il s’exécute après la fin de tous les tests, sans modifier le comportement existant du reporter.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript, node.js
- Domaine
- testing
- Type d'issue
- Fonctionnalité
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100