Skip to content
This repository has been archived by the owner on Jun 11, 2020. It is now read-only.

Commit

Permalink
Merge pull request #449 from mohsen1/patch-1
Browse files Browse the repository at this point in the history
Redue noise in output by not printing OK for happy paths
  • Loading branch information
RyanCavanaugh authored Apr 18, 2018
2 parents b757d32 + 0c33859 commit 542380b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/tester/test-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ async function runTests(
cwd: options.typesPath,
handleOutput(output): void {
const { path, status } = output as { path: string, status: string };
if (status === "OK") {
console.log(`${path} OK`);
} else {
if (status !== "OK") {
console.error(`${path} failing:`);
console.error(status);
allFailures.push([path, status]);
Expand Down

0 comments on commit 542380b

Please sign in to comment.