mocha-sprint-file-reporter 1.0.127 → 1.0.129
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/reporter.d.ts.map +1 -1
- package/dist/reporter.js +7 -1
- package/package.json +1 -1
package/dist/reporter.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reporter.d.ts","sourceRoot":"","sources":["../src/reporter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA+B/B,eAAe,UAAU,CAAC;AAE1B,iBAAS,UAAU,CACjB,IAAI,EAAE,GAAG,EACT,MAAM,EAAE,KAAK,CAAC,MAAM,EACpB,OAAO,EAAE,KAAK,CAAC,YAAY,
|
1
|
+
{"version":3,"file":"reporter.d.ts","sourceRoot":"","sources":["../src/reporter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA+B/B,eAAe,UAAU,CAAC;AAE1B,iBAAS,UAAU,CACjB,IAAI,EAAE,GAAG,EACT,MAAM,EAAE,KAAK,CAAC,MAAM,EACpB,OAAO,EAAE,KAAK,CAAC,YAAY,QA2J5B;kBA9JQ,UAAU"}
|
package/dist/reporter.js
CHANGED
@@ -92,7 +92,7 @@ function SprintFile(runner, options) {
|
|
92
92
|
(0, write_format_1.write)("\n" + tab);
|
93
93
|
}
|
94
94
|
});
|
95
|
-
runner.on(EVENT_SUITE_END, function () {
|
95
|
+
runner.on(EVENT_SUITE_END, function (suite) {
|
96
96
|
--indents;
|
97
97
|
if (indents === 1) {
|
98
98
|
N += 6;
|
@@ -109,6 +109,12 @@ function SprintFile(runner, options) {
|
|
109
109
|
else if (SlowCyan !== self.TSlowCyan[0]) {
|
110
110
|
(0, write_format_1.write)("ABSLOW", { fg: "cyan", effects: ["bold"] });
|
111
111
|
}
|
112
|
+
else if (suite.pending) {
|
113
|
+
(0, write_format_1.write)("PENDING", {
|
114
|
+
fg: { rgb: [128, 0, 128] },
|
115
|
+
effects: ["bold"],
|
116
|
+
});
|
117
|
+
}
|
112
118
|
else {
|
113
119
|
(0, write_format_1.write)("PASSED", { fg: "green", effects: ["bold"] });
|
114
120
|
}
|