Skip to content

Commit

Permalink
cat
Browse files Browse the repository at this point in the history
  • Loading branch information
metasansana committed Aug 14, 2023
1 parent 7f3a197 commit f1b56ae
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cxbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
steps:
- uses: quenktechnologies/.github/actions/node/build@master
- run: npm test # run tests (configured to use jest-junit reporter)
- run: cat results.json
- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
Expand Down
77 changes: 77 additions & 0 deletions results.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"stats": {
"suites": 1,
"tests": 3,
"passes": 2,
"pending": 0,
"failures": 1,
"start": "2023-08-14T17:07:15.976Z",
"end": "2023-08-14T17:07:15.980Z",
"duration": 4
},
"tests": [
{
"title": "should work",
"fullTitle": "main should work",
"file": "/home/master/Code/ga-test/test/main_test.js",
"duration": 0,
"currentRetry": 0,
"speed": "fast",
"err": {}
},
{
"title": "should work good",
"fullTitle": "main should work good",
"file": "/home/master/Code/ga-test/test/main_test.js",
"duration": 0,
"currentRetry": 0,
"speed": "fast",
"err": {}
},
{
"title": "should fail ",
"fullTitle": "main should fail ",
"file": "/home/master/Code/ga-test/test/main_test.js",
"duration": 0,
"currentRetry": 0,
"err": {
"stack": "Error: fail != working\n at Context.<anonymous> (test/main_test.js:14:11)\n at process.processImmediate (node:internal/timers:476:21)",
"message": "fail != working"
}
}
],
"pending": [],
"failures": [
{
"title": "should fail ",
"fullTitle": "main should fail ",
"file": "/home/master/Code/ga-test/test/main_test.js",
"duration": 0,
"currentRetry": 0,
"err": {
"stack": "Error: fail != working\n at Context.<anonymous> (test/main_test.js:14:11)\n at process.processImmediate (node:internal/timers:476:21)",
"message": "fail != working"
}
}
],
"passes": [
{
"title": "should work",
"fullTitle": "main should work",
"file": "/home/master/Code/ga-test/test/main_test.js",
"duration": 0,
"currentRetry": 0,
"speed": "fast",
"err": {}
},
{
"title": "should work good",
"fullTitle": "main should work good",
"file": "/home/master/Code/ga-test/test/main_test.js",
"duration": 0,
"currentRetry": 0,
"speed": "fast",
"err": {}
}
]
}

0 comments on commit f1b56ae

Please sign in to comment.