Simple fix to unicode
- Langage dominant
- JavaScript
- Étoiles
- 1.9k
- Forks
- 359
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Caolan,
Simple request: in two places in the default.js reporter, the actual character is used in the code, for the checkmark (passed) and the xmark (failed) for an individual test.
To make it more cross-platform and unicode (and IDE) friendly, can it be replaced by the actual unicode?
line 81: replace the checkmark with '\u2714' (that is backslash character followed by u2714)
line 84: replace the xmark with '\u2716' (that is backslash character followed by u2716)
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Open the default.js reporter and inspect lines 81 and 84, where the checkmark and xmark characters are used. Replace those source characters with the specified Unicode escape sequences, then verify that the reporter still displays the passed and failed test markers correctly.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript
- Domaine
- testing
- Type d'issue
- Refactorisation
- Difficulté
- 1/5
- Temps estimé
- Moins d'une heure
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 35/100