Comparing version 1.0.0-RC.1 to 1.0.0-RC.2
@@ -29,3 +29,8 @@ #!/usr/bin/env node | ||
parser.on('end', () => { | ||
if (!parser._writable.results.ok) process.exit(1) | ||
const { results } = parser._writable | ||
if (!results.ok) process.exit(1) | ||
if ( | ||
results.count === 0 && | ||
results.plan.comment.indexOf('no tests found') >= 0 | ||
) process.exit(1) | ||
}) | ||
@@ -32,0 +37,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"author": "tbeseda", | ||
"version": "1.0.0-RC.1", | ||
"version": "1.0.0-RC.2", | ||
"license": "Apache-2.0", | ||
@@ -53,3 +53,3 @@ "type": "module", | ||
"tape.upstream-error": "tape test/create-upstream-error-tap.cjs", | ||
"tape": "tape test/index.js | node index.js", | ||
"tape": "tape test/index.js | tap-min", | ||
"test": "npm run lint && npm run tape" | ||
@@ -70,2 +70,3 @@ }, | ||
"eslint": "^8.49.0", | ||
"tap-min": "^3.0.0", | ||
"tape": "5.6.6" | ||
@@ -72,0 +73,0 @@ }, |
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
26470
373
5