Skip to content

Commit

Permalink
fix: remove pino, add additional check in test
Browse files Browse the repository at this point in the history
  • Loading branch information
almog8k committed Sep 12, 2024
1 parent 92d72cf commit a29f374
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 49 deletions.
48 changes: 0 additions & 48 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions tests/unit/job/jobProcessor/JobProcessor.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit a29f374

Please sign in to comment.