Comparing version 2.5.1-canary.b756605 to 2.5.1-canary.f5ac8b7
@@ -16,3 +16,3 @@ "use strict"; | ||
const isPoku = poku_js_1.results.success > 0 || poku_js_1.results.fail > 0; | ||
const success = ` PASS › ${poku_js_1.results.success - poku_js_1.results.skip || 0} `; | ||
const success = ` PASS › ${poku_js_1.results.success} `; | ||
const failure = ` FAIL › ${poku_js_1.results.fail} `; | ||
@@ -19,0 +19,0 @@ const skips = ` SKIP › ${poku_js_1.results.skip} `; |
@@ -7,4 +7,4 @@ "use strict"; | ||
ansi: /u001b\[0m|\n/i, | ||
skip: /\\u001b\[94m\\u001b\[1m◯/i, | ||
todo: /\\u001b\[96m\\u001b\[1m●/i, | ||
skip: /\\u001b\[94m\\u001b\[1m◯/gi, | ||
todo: /\\u001b\[96m\\u001b\[1m●/gi, | ||
}; | ||
@@ -18,6 +18,8 @@ const isQuiet = (configs) => typeof (configs === null || configs === void 0 ? void 0 : configs.quiet) === 'boolean' && Boolean(configs === null || configs === void 0 ? void 0 : configs.quiet); | ||
const normalizedOutput = JSON.stringify(output); | ||
if (regex.skip.test(normalizedOutput)) | ||
++poku_js_1.results.skip; | ||
if (regex.todo.test(normalizedOutput)) | ||
++poku_js_1.results.todo; | ||
const hasSkip = normalizedOutput.match(regex.skip); | ||
if (hasSkip) | ||
poku_js_1.results.skip += hasSkip.length; | ||
const hasTodo = normalizedOutput.match(regex.todo); | ||
if (hasTodo) | ||
poku_js_1.results.todo += hasTodo.length; | ||
const debug = (0, exports.isDebug)(configs); | ||
@@ -24,0 +26,0 @@ const pad = (configs === null || configs === void 0 ? void 0 : configs.parallel) ? ' ' : ' '; |
{ | ||
"name": "poku", | ||
"version": "2.5.1-canary.b756605", | ||
"version": "2.5.1-canary.f5ac8b7", | ||
"description": "🐷 Poku makes testing easy for Node.js, Bun, Deno, and you at the same time.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/modules/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
163910
3398