use testResult.stdout if tsc version over 1.1.0-1