chore: upgrade moduleResolution to Node16 (#9269)

This commit is contained in:
Harminder Virk
2024-09-24 17:19:20 +05:30
committed by GitHub
parent d721282600
commit 9e711720dd
216 changed files with 981 additions and 2439 deletions
@@ -339,8 +339,6 @@ describe("RedisEventBusService", () => {
})
describe("worker_", () => {
let result!: any
describe("Successfully processes the jobs", () => {
beforeEach(async () => {
jest.clearAllMocks()
@@ -395,7 +393,7 @@ describe("RedisEventBusService", () => {
return Promise.reject("fail2")
})
result = await eventBus.worker_({
await eventBus.worker_({
name: "eventName",
data: { data: { test: 1 } },
opts: { attempts: 1 },
@@ -434,7 +432,7 @@ describe("RedisEventBusService", () => {
}
)
result = await eventBus
await eventBus
.worker_({
name: "eventName",
data: {
@@ -473,7 +471,7 @@ describe("RedisEventBusService", () => {
}
)
result = await eventBus
await eventBus
.worker_({
name: "eventName",
data: {