Test Suites
1 passed, 1 total
Tests
6 passed, 6 total
Snapshots
0 passed, 0 total
{
"resultDir": "output/",
"reportTitle": "API Test Report",
"additionalResultsProcessors": [],
"resultHtml": "index.html",
"resultJson": "jest-results.json"
}
{
"numFailedTestSuites": 0,
"numFailedTests": 0,
"numPassedTestSuites": 1,
"numPassedTests": 6,
"numPendingTestSuites": 0,
"numPendingTests": 0,
"numRuntimeErrorTestSuites": 0,
"numTodoTests": 0,
"numTotalTestSuites": 1,
"numTotalTests": 6,
"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": 1610634373561,
"success": false,
"testResults": [
{
"leaks": false,
"numFailingTests": 0,
"numPassingTests": 6,
"numPendingTests": 0,
"numTodoTests": 0,
"openHandles": [],
"perfStats": {
"end": 1610634378349,
"runtime": 4134,
"slow": false,
"start": 1610634374215
},
"skipped": false,
"snapshot": {
"added": 0,
"fileDeleted": false,
"matched": 0,
"unchecked": 0,
"unmatched": 0,
"updated": 0,
"uncheckedKeys": []
},
"testFilePath": "/home/runner/work/api-tests-jest-supertest-example/api-tests-jest-supertest-example/dist/specs/Books.test.js",
"testResults": [
{
"ancestorTitles": [
"Managing books"
],
"duration": 911,
"failureDetails": [],
"failureMessages": [],
"fullName": "Managing books /GET - All books",
"location": null,
"numPassingAsserts": 0,
"status": "passed",
"title": "/GET - All books"
},
{
"ancestorTitles": [
"Managing books"
],
"duration": 467,
"failureDetails": [],
"failureMessages": [],
"fullName": "Managing books /GET - An specific book",
"location": null,
"numPassingAsserts": 0,
"status": "passed",
"title": "/GET - An specific book"
},
{
"ancestorTitles": [
"Managing books"
],
"duration": 486,
"failureDetails": [],
"failureMessages": [],
"fullName": "Managing books /POST - A new book",
"location": null,
"numPassingAsserts": 0,
"status": "passed",
"title": "/POST - A new book"
},
{
"ancestorTitles": [
"Managing books"
],
"duration": 434,
"failureDetails": [],
"failureMessages": [],
"fullName": "Managing books /PUT - Update a book",
"location": null,
"numPassingAsserts": 0,
"status": "passed",
"title": "/PUT - Update a book"
},
{
"ancestorTitles": [
"Managing books"
],
"duration": 470,
"failureDetails": [],
"failureMessages": [],
"fullName": "Managing books /DELETE - Remove a book",
"location": null,
"numPassingAsserts": 0,
"status": "passed",
"title": "/DELETE - Remove a book"
},
{
"ancestorTitles": [
"Managing books"
],
"duration": 468,
"failureDetails": [],
"failureMessages": [],
"fullName": "Managing books /CONTRACT - Check contract of getting books",
"location": null,
"numPassingAsserts": 0,
"status": "passed",
"title": "/CONTRACT - Check contract of getting books"
}
],
"failureMessage": null
}
],
"wasInterrupted": false
}
{
"bail": 0,
"changedFilesWithAncestor": false,
"collectCoverage": false,
"collectCoverageFrom": [],
"coverageDirectory": "/home/runner/work/api-tests-jest-supertest-example/api-tests-jest-supertest-example/coverage",
"coverageProvider": "babel",
"coverageReporters": [
"json",
"text",
"lcov",
"clover"
],
"detectLeaks": false,
"detectOpenHandles": false,
"errorOnDeprecated": false,
"expand": false,
"findRelatedTests": false,
"forceExit": false,
"json": false,
"lastCommit": false,
"listTests": false,
"logHeapUsage": false,
"maxConcurrency": 5,
"maxWorkers": 1,
"noStackTrace": false,
"nonFlagArgs": [
"./dist/specs/Books.test.js"
],
"notify": false,
"notifyMode": "failure-change",
"onlyChanged": false,
"onlyFailures": false,
"passWithNoTests": false,
"projects": [],
"reporters": [
[
"default",
{}
],
[
"/home/runner/work/api-tests-jest-supertest-example/api-tests-jest-supertest-example/node_modules/jest-stare/lib/index.js",
{
"resultDir": "output/",
"reportTitle": "API Test Report",
"additionalResultsProcessors": [],
"resultHtml": "index.html",
"resultJson": "jest-results.json"
}
]
],
"rootDir": "/home/runner/work/api-tests-jest-supertest-example/api-tests-jest-supertest-example",
"runTestsByPath": false,
"skipFilter": false,
"testFailureExitCode": 1,
"testPathPattern": "./dist/specs/Books.test.js",
"testSequencer": "/home/runner/work/api-tests-jest-supertest-example/api-tests-jest-supertest-example/node_modules/@jest/test-sequencer/build/index.js",
"testTimeout": 30000,
"updateSnapshot": "none",
"useStderr": false,
"verbose": true,
"watch": false,
"watchAll": false,
"watchman": true
}