Test Suites
2 passed, 2 total
Tests
11 passed, 11 total
Snapshots
0 passed, 0 total
{
"resultDir": "jest-stare/",
"reportTitle": "NotifyLog Test Results",
"coverageLink": "../coverage/lcov-report/index.html",
"additionalResultsProcessors": [],
"resultHtml": "index.html",
"resultJson": "jest-results.json"
}
{
"numFailedTestSuites": 0,
"numFailedTests": 0,
"numPassedTestSuites": 2,
"numPassedTests": 11,
"numPendingTestSuites": 0,
"numPendingTests": 0,
"numRuntimeErrorTestSuites": 0,
"numTodoTests": 0,
"numTotalTestSuites": 2,
"numTotalTests": 11,
"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": 1749449186067,
"success": false,
"testResults": [
{
"leaks": false,
"numFailingTests": 0,
"numPassingTests": 7,
"numPendingTests": 0,
"numTodoTests": 0,
"openHandles": [],
"perfStats": {
"end": 1749449192044,
"runtime": 5411,
"slow": true,
"start": 1749449186633
},
"skipped": false,
"snapshot": {
"added": 0,
"fileDeleted": false,
"matched": 0,
"unchecked": 0,
"uncheckedKeys": [],
"unmatched": 0,
"updated": 0
},
"testFilePath": "/home/runner/work/NotifyLog/NotifyLog/src/test/logger/log.controller.spec.ts",
"testResults": [
{
"ancestorTitles": [
"LogController",
"getLogs"
],
"duration": 16,
"failureDetails": [],
"failureMessages": [],
"fullName": "LogController getLogs should return logs with default pagination",
"invocations": 1,
"location": null,
"numPassingAsserts": 2,
"retryReasons": [],
"status": "passed",
"title": "should return logs with default pagination"
},
{
"ancestorTitles": [
"LogController",
"getLogById"
],
"duration": 2,
"failureDetails": [],
"failureMessages": [],
"fullName": "LogController getLogById should return a log by ID",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should return a log by ID"
},
{
"ancestorTitles": [
"LogController",
"getLogById"
],
"duration": 12,
"failureDetails": [],
"failureMessages": [],
"fullName": "LogController getLogById should throw NotFoundException if log not found",
"invocations": 1,
"location": null,
"numPassingAsserts": 2,
"retryReasons": [],
"status": "passed",
"title": "should throw NotFoundException if log not found"
},
{
"ancestorTitles": [
"LogController",
"deleteLogById"
],
"duration": 2,
"failureDetails": [],
"failureMessages": [],
"fullName": "LogController deleteLogById should delete a log by ID",
"invocations": 1,
"location": null,
"numPassingAsserts": 0,
"retryReasons": [],
"status": "passed",
"title": "should delete a log by ID"
},
{
"ancestorTitles": [
"LogController",
"deleteLogById"
],
"duration": 3,
"failureDetails": [],
"failureMessages": [],
"fullName": "LogController deleteLogById should throw NotFoundException if log not found",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should throw NotFoundException if log not found"
},
{
"ancestorTitles": [
"LogController",
"getLogStats"
],
"duration": 2,
"failureDetails": [],
"failureMessages": [],
"fullName": "LogController getLogStats should return log statistics",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should return log statistics"
},
{
"ancestorTitles": [
"LogController",
"getLogStats"
],
"duration": 3,
"failureDetails": [],
"failureMessages": [],
"fullName": "LogController getLogStats should return stats without filters",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should return stats without filters"
}
],
"failureMessage": null
},
{
"leaks": false,
"numFailingTests": 0,
"numPassingTests": 4,
"numPendingTests": 0,
"numTodoTests": 0,
"openHandles": [],
"perfStats": {
"end": 1749449192285,
"runtime": 5657,
"slow": true,
"start": 1749449186628
},
"skipped": false,
"snapshot": {
"added": 0,
"fileDeleted": false,
"matched": 0,
"unchecked": 0,
"uncheckedKeys": [],
"unmatched": 0,
"updated": 0
},
"testFilePath": "/home/runner/work/NotifyLog/NotifyLog/src/test/notification/notification.controller.spec.ts",
"testResults": [
{
"ancestorTitles": [
"NotificationController",
"send"
],
"duration": 25,
"failureDetails": [],
"failureMessages": [],
"fullName": "NotificationController send should send notification and log successfully",
"invocations": 1,
"location": null,
"numPassingAsserts": 3,
"retryReasons": [],
"status": "passed",
"title": "should send notification and log successfully"
},
{
"ancestorTitles": [
"NotificationController",
"send"
],
"duration": 10,
"failureDetails": [],
"failureMessages": [],
"fullName": "NotificationController send should throw error if strategy send fails",
"invocations": 1,
"location": null,
"numPassingAsserts": 1,
"retryReasons": [],
"status": "passed",
"title": "should throw error if strategy send fails"
},
{
"ancestorTitles": [
"NotificationController",
"getNotificationHistory"
],
"duration": 2,
"failureDetails": [],
"failureMessages": [],
"fullName": "NotificationController getNotificationHistory should return notification history with default pagination",
"invocations": 1,
"location": null,
"numPassingAsserts": 2,
"retryReasons": [],
"status": "passed",
"title": "should return notification history with default pagination"
},
{
"ancestorTitles": [
"NotificationController",
"getNotificationHistory"
],
"duration": 2,
"failureDetails": [],
"failureMessages": [],
"fullName": "NotificationController getNotificationHistory should handle custom pagination",
"invocations": 1,
"location": null,
"numPassingAsserts": 2,
"retryReasons": [],
"status": "passed",
"title": "should handle custom pagination"
}
],
"failureMessage": null
}
],
"wasInterrupted": false
}
{
"bail": 0,
"changedFilesWithAncestor": false,
"ci": true,
"collectCoverage": false,
"collectCoverageFrom": [
"src/**/*.{ts,tsx}",
"!src/**/*.d.ts"
],
"coverageDirectory": "/home/runner/work/NotifyLog/NotifyLog/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": 2,
"noStackTrace": false,
"nonFlagArgs": [],
"notify": false,
"notifyMode": "failure-change",
"onlyChanged": false,
"onlyFailures": false,
"openHandlesTimeout": 1000,
"passWithNoTests": false,
"projects": [],
"reporters": [
[
"default",
{}
],
[
"/home/runner/work/NotifyLog/NotifyLog/node_modules/jest-stare/lib/index.js",
{
"resultDir": "jest-stare/",
"reportTitle": "NotifyLog Test Results",
"coverageLink": "../coverage/lcov-report/index.html",
"additionalResultsProcessors": [],
"resultHtml": "index.html",
"resultJson": "jest-results.json"
}
]
],
"rootDir": "/home/runner/work/NotifyLog/NotifyLog",
"runTestsByPath": false,
"seed": 816700535,
"skipFilter": false,
"snapshotFormat": {
"escapeString": false,
"printBasicPrototype": false
},
"testFailureExitCode": 1,
"testPathPattern": "",
"testSequencer": "/home/runner/work/NotifyLog/NotifyLog/node_modules/@jest/test-sequencer/build/index.js",
"updateSnapshot": "none",
"useStderr": false,
"watch": false,
"watchAll": false,
"watchman": true,
"workerThreads": false
}