forked from mattallty/jest-github-action
-
Notifications
You must be signed in to change notification settings - Fork 9
/
sample-results.json
1 lines (1 loc) · 18.1 KB
/
sample-results.json
1
{"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":1,"numPassedTests":3,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":1,"numTotalTests":3,"openHandles":[],"snapshot":{"added":0,"didUpdate":false,"failure":false,"filesAdded":0,"filesRemoved":0,"filesRemovedList":[],"filesUnmatched":0,"filesUpdated":0,"matched":0,"total":0,"unchecked":0,"uncheckedKeysByFile":[],"unmatched":0,"updated":0},"startTime":1587478594322,"success":true,"testResults":[{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"throws invalid number","location":{"column":1,"line":3},"status":"passed","title":"throws invalid number"},{"ancestorTitles":[],"failureMessages":[],"fullName":"wait 500 ms","location":{"column":1,"line":7},"status":"passed","title":"wait 500 ms"},{"ancestorTitles":[],"failureMessages":[],"fullName":"action should be a function","location":{"column":1,"line":11},"status":"passed","title":"action should be a function"}],"endTime":1587478596660,"message":"","name":"/Volumes/Home/matt/dev/jest-github-action/src/tests/index.test.ts","startTime":1587478594374,"status":"passed","summary":""}],"wasInterrupted":false,"coverageMap":{"/Volumes/Home/matt/dev/jest-github-action/src/action.ts":{"path":"/Volumes/Home/matt/dev/jest-github-action/src/action.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":32}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":33}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":36}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":32}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":49}},"5":{"start":{"line":7,"column":0},"end":{"line":7,"column":36}},"6":{"start":{"line":8,"column":0},"end":{"line":8,"column":34}},"7":{"start":{"line":9,"column":0},"end":{"line":9,"column":28}},"8":{"start":{"line":10,"column":0},"end":{"line":10,"column":30}},"9":{"start":{"line":11,"column":0},"end":{"line":11,"column":34}},"10":{"start":{"line":12,"column":0},"end":{"line":12,"column":51}},"11":{"start":{"line":15,"column":20},"end":{"line":15,"column":40}},"12":{"start":{"line":19,"column":14},"end":{"line":19,"column":33}},"13":{"start":{"line":20,"column":23},"end":{"line":20,"column":53}},"14":{"start":{"line":22,"column":2},"end":{"line":59,"column":null}},"15":{"start":{"line":23,"column":18},"end":{"line":23,"column":42}},"16":{"start":{"line":24,"column":4},"end":{"line":28,"column":null}},"17":{"start":{"line":25,"column":6},"end":{"line":25,"column":null}},"18":{"start":{"line":26,"column":6},"end":{"line":26,"column":null}},"19":{"start":{"line":27,"column":6},"end":{"line":27,"column":12}},"20":{"start":{"line":30,"column":16},"end":{"line":30,"column":44}},"21":{"start":{"line":32,"column":4},"end":{"line":32,"column":null}},"22":{"start":{"line":35,"column":20},"end":{"line":35,"column":37}},"23":{"start":{"line":38,"column":20},"end":{"line":38,"column":46}},"24":{"start":{"line":41,"column":25},"end":{"line":41,"column":54}},"25":{"start":{"line":42,"column":18},"end":{"line":42,"column":59}},"26":{"start":{"line":43,"column":4},"end":{"line":43,"column":null}},"27":{"start":{"line":46,"column":4},"end":{"line":51,"column":null}},"28":{"start":{"line":47,"column":22},"end":{"line":47,"column":52}},"29":{"start":{"line":48,"column":29},"end":{"line":48,"column":55}},"30":{"start":{"line":49,"column":18},"end":{"line":49,"column":68}},"31":{"start":{"line":50,"column":6},"end":{"line":50,"column":null}},"32":{"start":{"line":53,"column":4},"end":{"line":55,"column":null}},"33":{"start":{"line":54,"column":6},"end":{"line":54,"column":null}},"34":{"start":{"line":57,"column":4},"end":{"line":57,"column":null}},"35":{"start":{"line":58,"column":4},"end":{"line":58,"column":null}},"36":{"start":{"line":63,"column":2},"end":{"line":63,"column":null}},"37":{"start":{"line":67,"column":2},"end":{"line":69,"column":null}},"38":{"start":{"line":68,"column":4},"end":{"line":68,"column":null}},"39":{"start":{"line":70,"column":17},"end":{"line":70,"column":53}},"40":{"start":{"line":71,"column":15},"end":{"line":71,"column":77}},"41":{"start":{"line":73,"column":2},"end":{"line":82,"column":null}},"42":{"start":{"line":74,"column":30},"end":{"line":74,"column":46}},"43":{"start":{"line":75,"column":4},"end":{"line":81,"column":null}},"44":{"start":{"line":83,"column":2},"end":{"line":83,"column":null}},"45":{"start":{"line":87,"column":15},"end":{"line":90,"column":null}},"46":{"start":{"line":92,"column":2},"end":{"line":92,"column":null}},"47":{"start":{"line":96,"column":15},"end":{"line":110,"column":null}},"48":{"start":{"line":112,"column":2},"end":{"line":112,"column":null}},"49":{"start":{"line":113,"column":2},"end":{"line":113,"column":null}},"50":{"start":{"line":117,"column":12},"end":{"line":117,"column":62}},"51":{"start":{"line":118,"column":22},"end":{"line":118,"column":82}},"52":{"start":{"line":119,"column":16},"end":{"line":119,"column":62}},"53":{"start":{"line":120,"column":2},"end":{"line":120,"column":null}},"54":{"start":{"line":122,"column":2},"end":{"line":122,"column":null}},"55":{"start":{"line":124,"column":2},"end":{"line":124,"column":null}},"56":{"start":{"line":128,"column":18},"end":{"line":128,"column":64}},"57":{"start":{"line":129,"column":2},"end":{"line":129,"column":null}},"58":{"start":{"line":130,"column":2},"end":{"line":130,"column":null}},"59":{"start":{"line":134,"column":2},"end":{"line":139,"column":null}},"60":{"start":{"line":135,"column":4},"end":{"line":135,"column":null}},"61":{"start":{"line":136,"column":4},"end":{"line":136,"column":null}},"62":{"start":{"line":138,"column":4},"end":{"line":138,"column":null}},"63":{"start":{"line":143,"column":2},"end":{"line":143,"column":null}},"64":{"start":{"line":147,"column":2},"end":{"line":151,"column":null}},"65":{"start":{"line":148,"column":4},"end":{"line":148,"column":null}},"66":{"start":{"line":150,"column":4},"end":{"line":150,"column":null}},"67":{"start":{"line":154,"column":23},"end":{"line":171,"column":1}},"68":{"start":{"line":158,"column":2},"end":{"line":160,"column":null}},"69":{"start":{"line":159,"column":4},"end":{"line":159,"column":null}},"70":{"start":{"line":161,"column":2},"end":{"line":170,"column":null}},"71":{"start":{"line":162,"column":4},"end":{"line":169,"column":null}},"72":{"start":{"line":162,"column":84},"end":{"line":169,"column":7}},"73":{"start":{"line":173,"column":22},"end":{"line":179,"column":1}},"74":{"start":{"line":174,"column":2},"end":{"line":176,"column":null}},"75":{"start":{"line":175,"column":4},"end":{"line":175,"column":10}},"76":{"start":{"line":177,"column":18},"end":{"line":177,"column":75}},"77":{"start":{"line":177,"column":57},"end":{"line":177,"column":73}},"78":{"start":{"line":178,"column":2},"end":{"line":178,"column":null}},"79":{"start":{"line":182,"column":2},"end":{"line":182,"column":null}},"80":{"start":{"line":185,"column":0},"end":{"line":185,"column":null}},"81":{"start":{"line":187,"column":0},"end":{"line":189,"column":null}},"82":{"start":{"line":188,"column":2},"end":{"line":188,"column":null}}},"fnMap":{"0":{"name":"run","decl":{"start":{"line":18,"column":15},"end":{"line":18,"column":18}},"loc":{"start":{"line":18,"column":18},"end":{"line":60,"column":null}}},"1":{"name":"shouldCommentCoverage","decl":{"start":{"line":62,"column":9},"end":{"line":62,"column":30}},"loc":{"start":{"line":62,"column":30},"end":{"line":64,"column":1}}},"2":{"name":"getCoverageTable","decl":{"start":{"line":66,"column":9},"end":{"line":66,"column":25}},"loc":{"start":{"line":66,"column":68},"end":{"line":84,"column":1}}},"3":{"name":"getCommentPayload","decl":{"start":{"line":86,"column":9},"end":{"line":86,"column":26}},"loc":{"start":{"line":86,"column":39},"end":{"line":93,"column":1}}},"4":{"name":"getCheckPayload","decl":{"start":{"line":95,"column":9},"end":{"line":95,"column":24}},"loc":{"start":{"line":95,"column":67},"end":{"line":114,"column":1}}},"5":{"name":"getJestCommand","decl":{"start":{"line":116,"column":9},"end":{"line":116,"column":23}},"loc":{"start":{"line":116,"column":43},"end":{"line":125,"column":1}}},"6":{"name":"parseResults","decl":{"start":{"line":127,"column":9},"end":{"line":127,"column":21}},"loc":{"start":{"line":127,"column":41},"end":{"line":131,"column":1}}},"7":{"name":"execJest","decl":{"start":{"line":133,"column":15},"end":{"line":133,"column":23}},"loc":{"start":{"line":133,"column":35},"end":{"line":140,"column":null}}},"8":{"name":"getPullId","decl":{"start":{"line":142,"column":9},"end":{"line":142,"column":18}},"loc":{"start":{"line":142,"column":18},"end":{"line":144,"column":1}}},"9":{"name":"getSha","decl":{"start":{"line":146,"column":9},"end":{"line":146,"column":15}},"loc":{"start":{"line":146,"column":15},"end":{"line":152,"column":1}}},"10":{"name":"(anonymous_20)","decl":{"start":{"line":154,"column":23},"end":{"line":154,"column":null}},"loc":{"start":{"line":157,"column":51},"end":{"line":171,"column":1}}},"11":{"name":"(anonymous_21)","decl":{"start":{"line":161,"column":38},"end":{"line":161,"column":39}},"loc":{"start":{"line":161,"column":49},"end":{"line":170,"column":3}}},"12":{"name":"(anonymous_22)","decl":{"start":{"line":162,"column":69},"end":{"line":162,"column":70}},"loc":{"start":{"line":162,"column":83},"end":{"line":169,"column":7}}},"13":{"name":"(anonymous_23)","decl":{"start":{"line":173,"column":22},"end":{"line":173,"column":23}},"loc":{"start":{"line":173,"column":56},"end":{"line":179,"column":1}}},"14":{"name":"(anonymous_24)","decl":{"start":{"line":177,"column":50},"end":{"line":177,"column":51}},"loc":{"start":{"line":177,"column":57},"end":{"line":177,"column":73}}},"15":{"name":"asMarkdownCode","decl":{"start":{"line":181,"column":9},"end":{"line":181,"column":23}},"loc":{"start":{"line":181,"column":35},"end":{"line":183,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":24,"column":4},"end":{"line":28,"column":null}},"type":"if","locations":[{"start":{"line":24,"column":4},"end":{"line":28,"column":null}},{"start":{"line":24,"column":4},"end":{"line":28,"column":null}}]},"1":{"loc":{"start":{"line":46,"column":4},"end":{"line":51,"column":null}},"type":"if","locations":[{"start":{"line":46,"column":4},"end":{"line":51,"column":null}},{"start":{"line":46,"column":4},"end":{"line":51,"column":null}}]},"2":{"loc":{"start":{"line":53,"column":4},"end":{"line":55,"column":null}},"type":"if","locations":[{"start":{"line":53,"column":4},"end":{"line":55,"column":null}},{"start":{"line":53,"column":4},"end":{"line":55,"column":null}}]},"3":{"loc":{"start":{"line":67,"column":2},"end":{"line":69,"column":null}},"type":"if","locations":[{"start":{"line":67,"column":2},"end":{"line":69,"column":null}},{"start":{"line":67,"column":2},"end":{"line":69,"column":null}}]},"4":{"loc":{"start":{"line":73,"column":48},"end":{"line":73,"column":59}},"type":"binary-expr","locations":[{"start":{"line":73,"column":48},"end":{"line":73,"column":59}},{"start":{"line":73,"column":63},"end":{"line":73,"column":65}}]},"5":{"loc":{"start":{"line":101,"column":34},"end":{"line":101,"column":43}},"type":"cond-expr","locations":[{"start":{"line":101,"column":34},"end":{"line":101,"column":43}},{"start":{"line":101,"column":46},"end":{"line":101,"column":55}}]},"6":{"loc":{"start":{"line":103,"column":31},"end":{"line":103,"column":50}},"type":"cond-expr","locations":[{"start":{"line":103,"column":31},"end":{"line":103,"column":50}},{"start":{"line":103,"column":53},"end":{"line":103,"column":72}}]},"7":{"loc":{"start":{"line":106,"column":10},"end":{"line":106,"column":84}},"type":"cond-expr","locations":[{"start":{"line":106,"column":10},"end":{"line":106,"column":84}},{"start":{"line":107,"column":10},"end":{"line":107,"column":149}}]},"8":{"loc":{"start":{"line":119,"column":16},"end":{"line":119,"column":37}},"type":"binary-expr","locations":[{"start":{"line":119,"column":16},"end":{"line":119,"column":37}},{"start":{"line":119,"column":41},"end":{"line":119,"column":62}}]},"9":{"loc":{"start":{"line":120,"column":18},"end":{"line":120,"column":24}},"type":"cond-expr","locations":[{"start":{"line":120,"column":18},"end":{"line":120,"column":24}},{"start":{"line":120,"column":27},"end":{"line":120,"column":30}}]},"10":{"loc":{"start":{"line":143,"column":45},"end":{"line":143,"column":49}},"type":"cond-expr","locations":[{"start":{"line":143,"column":45},"end":{"line":143,"column":49}},{"start":{"line":143,"column":49},"end":{"line":143,"column":50}}]},"11":{"loc":{"start":{"line":143,"column":2},"end":{"line":143,"column":49}},"type":"binary-expr","locations":[{"start":{"line":143,"column":2},"end":{"line":143,"column":49}},{"start":{"line":143,"column":45},"end":{"line":143,"column":49}}]},"12":{"loc":{"start":{"line":143,"column":37},"end":{"line":143,"column":39}},"type":"cond-expr","locations":[{"start":{"line":143,"column":37},"end":{"line":143,"column":39}},{"start":{"line":143,"column":37},"end":{"line":143,"column":45}}]},"13":{"loc":{"start":{"line":143,"column":2},"end":{"line":143,"column":39}},"type":"binary-expr","locations":[{"start":{"line":143,"column":2},"end":{"line":143,"column":39}},{"start":{"line":143,"column":37},"end":{"line":143,"column":39}}]},"14":{"loc":{"start":{"line":148,"column":39},"end":{"line":148,"column":41}},"type":"cond-expr","locations":[{"start":{"line":148,"column":39},"end":{"line":148,"column":41}},{"start":{"line":148,"column":39},"end":{"line":148,"column":49}}]},"15":{"loc":{"start":{"line":148,"column":4},"end":{"line":148,"column":41}},"type":"binary-expr","locations":[{"start":{"line":148,"column":4},"end":{"line":148,"column":41}},{"start":{"line":148,"column":39},"end":{"line":148,"column":41}}]},"16":{"loc":{"start":{"line":158,"column":2},"end":{"line":160,"column":null}},"type":"if","locations":[{"start":{"line":158,"column":2},"end":{"line":160,"column":null}},{"start":{"line":158,"column":2},"end":{"line":160,"column":null}}]},"17":{"loc":{"start":{"line":164,"column":42},"end":{"line":164,"column":46}},"type":"cond-expr","locations":[{"start":{"line":164,"column":42},"end":{"line":164,"column":46}},{"start":{"line":164,"column":46},"end":{"line":164,"column":47}}]},"18":{"loc":{"start":{"line":164,"column":16},"end":{"line":164,"column":46}},"type":"binary-expr","locations":[{"start":{"line":164,"column":16},"end":{"line":164,"column":46}},{"start":{"line":164,"column":42},"end":{"line":164,"column":46}}]},"19":{"loc":{"start":{"line":164,"column":36},"end":{"line":164,"column":38}},"type":"cond-expr","locations":[{"start":{"line":164,"column":36},"end":{"line":164,"column":38}},{"start":{"line":164,"column":36},"end":{"line":164,"column":42}}]},"20":{"loc":{"start":{"line":164,"column":16},"end":{"line":164,"column":38}},"type":"binary-expr","locations":[{"start":{"line":164,"column":16},"end":{"line":164,"column":38}},{"start":{"line":164,"column":36},"end":{"line":164,"column":38}}]},"21":{"loc":{"start":{"line":165,"column":40},"end":{"line":165,"column":44}},"type":"cond-expr","locations":[{"start":{"line":165,"column":40},"end":{"line":165,"column":44}},{"start":{"line":165,"column":44},"end":{"line":165,"column":45}}]},"22":{"loc":{"start":{"line":165,"column":14},"end":{"line":165,"column":44}},"type":"binary-expr","locations":[{"start":{"line":165,"column":14},"end":{"line":165,"column":44}},{"start":{"line":165,"column":40},"end":{"line":165,"column":44}}]},"23":{"loc":{"start":{"line":165,"column":34},"end":{"line":165,"column":36}},"type":"cond-expr","locations":[{"start":{"line":165,"column":34},"end":{"line":165,"column":36}},{"start":{"line":165,"column":34},"end":{"line":165,"column":40}}]},"24":{"loc":{"start":{"line":165,"column":14},"end":{"line":165,"column":36}},"type":"binary-expr","locations":[{"start":{"line":165,"column":14},"end":{"line":165,"column":36}},{"start":{"line":165,"column":34},"end":{"line":165,"column":36}}]},"25":{"loc":{"start":{"line":168,"column":59},"end":{"line":168,"column":64}},"type":"cond-expr","locations":[{"start":{"line":168,"column":59},"end":{"line":168,"column":64}},{"start":{"line":168,"column":64},"end":{"line":168,"column":66}}]},"26":{"loc":{"start":{"line":168,"column":20},"end":{"line":168,"column":64}},"type":"binary-expr","locations":[{"start":{"line":168,"column":20},"end":{"line":168,"column":64}},{"start":{"line":168,"column":59},"end":{"line":168,"column":64}}]},"27":{"loc":{"start":{"line":168,"column":46},"end":{"line":168,"column":48}},"type":"cond-expr","locations":[{"start":{"line":168,"column":46},"end":{"line":168,"column":48}},{"start":{"line":168,"column":46},"end":{"line":168,"column":64}}]},"28":{"loc":{"start":{"line":168,"column":20},"end":{"line":168,"column":48}},"type":"binary-expr","locations":[{"start":{"line":168,"column":20},"end":{"line":168,"column":48}},{"start":{"line":168,"column":46},"end":{"line":168,"column":48}}]},"29":{"loc":{"start":{"line":174,"column":2},"end":{"line":176,"column":null}},"type":"if","locations":[{"start":{"line":174,"column":2},"end":{"line":176,"column":null}},{"start":{"line":174,"column":2},"end":{"line":176,"column":null}}]},"30":{"loc":{"start":{"line":187,"column":0},"end":{"line":189,"column":null}},"type":"if","locations":[{"start":{"line":187,"column":0},"end":{"line":189,"column":null}},{"start":{"line":187,"column":0},"end":{"line":189,"column":null}}]}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":1,"68":0,"69":0,"70":0,"71":0,"72":0,"73":1,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":1,"81":1,"82":0},"f":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0},"b":{"0":[0,0],"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0],"8":[0,0],"9":[0,0],"10":[0,0],"11":[0,0],"12":[0,0],"13":[0,0],"14":[0,0],"15":[0,0],"16":[0,0],"17":[0,0],"18":[0,0],"19":[0,0],"20":[0,0],"21":[0,0],"22":[0,0],"23":[0,0],"24":[0,0],"25":[0,0],"26":[0,0],"27":[0,0],"28":[0,0],"29":[0,0],"30":[0,1]}}}}