diff --git a/package-lock.json b/package-lock.json index 7a85a1b..fa94f00 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,7 +29,6 @@ "http-status-codes": "^2.2.0", "lodash.get": "^4.4.2", "lodash.has": "^4.5.2", - "pino": "^9.4.0", "prom-client": "^15.1.2", "reflect-metadata": "^0.1.13", "tsyringe": "^4.8.0" @@ -17925,27 +17924,6 @@ "node": ">=0.10.0" } }, - "node_modules/pino": { - "version": "9.4.0", - "resolved": "https://registry.npmjs.org/pino/-/pino-9.4.0.tgz", - "integrity": "sha512-nbkQb5+9YPhQRz/BeQmrWpEknAaqjpAqRK8NwJpmrX/JHu7JuZC5G1CeAwJDJfGes4h+YihC6in3Q2nGb+Y09w==", - "dependencies": { - "atomic-sleep": "^1.0.0", - "fast-redact": "^3.1.1", - "on-exit-leak-free": "^2.1.0", - "pino-abstract-transport": "^1.2.0", - "pino-std-serializers": "^7.0.0", - "process-warning": "^4.0.0", - "quick-format-unescaped": "^4.0.3", - "real-require": "^0.2.0", - "safe-stable-stringify": "^2.3.1", - "sonic-boom": "^4.0.1", - "thread-stream": "^3.0.0" - }, - "bin": { - "pino": "bin.js" - } - }, "node_modules/pino-abstract-transport": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/pino-abstract-transport/-/pino-abstract-transport-1.2.0.tgz", @@ -18162,24 +18140,6 @@ "resolved": "https://registry.npmjs.org/pino-std-serializers/-/pino-std-serializers-6.2.2.tgz", "integrity": "sha512-cHjPPsE+vhj/tnhCy/wiMh3M3z3h/j15zHQX+S9GkTBgqJuTuJzYJ4gUyACLhDaJ7kk9ba9iRDmbH2tJU03OiA==" }, - "node_modules/pino/node_modules/pino-std-serializers": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/pino-std-serializers/-/pino-std-serializers-7.0.0.tgz", - "integrity": "sha512-e906FRY0+tV27iq4juKzSYPbUj2do2X2JX4EzSca1631EB2QJQUqGbDuERal7LCtOpxl6x3+nvo9NPZcmjkiFA==" - }, - "node_modules/pino/node_modules/process-warning": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/process-warning/-/process-warning-4.0.0.tgz", - "integrity": "sha512-/MyYDxttz7DfGMMHiysAsFE4qF+pQYAA8ziO/3NcRVrQ5fSk+Mns4QZA/oRPFzvcqNoVJXQNWNAsdwBXLUkQKw==" - }, - "node_modules/pino/node_modules/sonic-boom": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/sonic-boom/-/sonic-boom-4.1.0.tgz", - "integrity": "sha512-NGipjjRicyJJ03rPiZCJYjwlsuP2d1/5QUviozRXC7S3WdVWNK5e3Ojieb9CCyfhq2UC+3+SRd9nG3I2lPRvUw==", - "dependencies": { - "atomic-sleep": "^1.0.0" - } - }, "node_modules/pirates": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", @@ -20180,14 +20140,6 @@ "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", "dev": true }, - "node_modules/thread-stream": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/thread-stream/-/thread-stream-3.1.0.tgz", - "integrity": "sha512-OqyPZ9u96VohAyMfJykzmivOrY2wfMSf3C5TtFJVgN+Hm6aj+voFhlK+kZEIv2FBh1X6Xp3DlnCOfEQ3B2J86A==", - "dependencies": { - "real-require": "^0.2.0" - } - }, "node_modules/through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", diff --git a/package.json b/package.json index 8013053..e7a2ddf 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,6 @@ "http-status-codes": "^2.2.0", "lodash.get": "^4.4.2", "lodash.has": "^4.5.2", - "pino": "^9.4.0", "prom-client": "^15.1.2", "reflect-metadata": "^0.1.13", "tsyringe": "^4.8.0" diff --git a/tests/unit/job/jobProcessor/JobProcessor.spec.ts b/tests/unit/job/jobProcessor/JobProcessor.spec.ts index 507fe5a..aeedc1c 100644 --- a/tests/unit/job/jobProcessor/JobProcessor.spec.ts +++ b/tests/unit/job/jobProcessor/JobProcessor.spec.ts @@ -291,6 +291,7 @@ describe('JobProcessor', () => { const result = await jobProcessor['getTask'](jobType, taskType); + expect(mockReject).toHaveBeenCalledTimes(1); expect(result.task).toBeNull(); expect(result.shouldSkipTask).toBe(true); });