Skip to content

Commit

Permalink
chore(jobs tests): Fix a couple of TS issues (#11389)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe authored Aug 29, 2024
1 parent a93b907 commit 53a92ca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/jobs/src/bins/__tests__/rw-jobs-worker.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ describe('getWorker', () => {
test: new MockAdapter(),
},
logger: mockLogger,
queues: ['default'],
queues: ['default'] as const,
workers: [
{
adapter: 'test',
Expand Down Expand Up @@ -81,7 +81,7 @@ describe('getWorker', () => {
test: mockAdapter,
},
logger: mockLogger,
queues: ['default'],
queues: ['default'] as const,
workers: [
{
adapter: 'test',
Expand Down
4 changes: 3 additions & 1 deletion packages/jobs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"extends": "../../tsconfig.compilerOption.json",
"compilerOptions": {
"moduleResolution": "Node16",
"module": "Node16"
"module": "Node16",
"emitDeclarationOnly": false,
"noEmit": true
},
"include": ["."],
"exclude": ["dist", "node_modules", "**/__mocks__", "**/__tests__/fixtures"],
Expand Down
File renamed without changes.

0 comments on commit 53a92ca

Please sign in to comment.