We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38c8d1c commit c295eafCopy full SHA for c295eaf
1 file changed
lib/internal/test_runner/reporter/utils.js
@@ -28,9 +28,15 @@ const reporterUnicodeSymbolMap = {
28
29
const reporterColorMap = {
30
'__proto__': null,
31
- 'test:fail': colors.red,
32
- 'test:pass': colors.green,
33
- 'test:diagnostic': colors.blue,
+ get 'test:fail'() {
+ return colors.red;
+ },
34
+ get 'test:pass'() {
35
+ return colors.green;
36
37
+ get 'test:diagnostic'() {
38
+ return colors.blue;
39
40
};
41
42
function indent(nesting) {
0 commit comments