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 #452 from Microsoft/ok
Browse files Browse the repository at this point in the history
Print 'ok' when a test passes
  • Loading branch information
Andy authored Apr 25, 2018
2 parents cba46e5 + 578016d commit e526a2b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tester/test-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ async function runTests(
cwd: options.typesPath,
handleOutput(output): void {
const { path, status } = output as { path: string, status: string };
if (status !== "OK") {
if (status === "OK") {
console.log(`${path} OK`);
} else {
console.error(`${path} failing:`);
console.error(status);
allFailures.push([path, status]);
Expand Down

0 comments on commit e526a2b

Please sign in to comment.