Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

test(queue): drop an ingress spec case that cannot fail

Yudhi Armyndharisd17483f92c14
diff --git a/src/modules/queue/processors/ingress.processor.spec.ts b/src/modules/queue/processors/ingress.processor.spec.ts
index c36995ee5..feedc77ac 100644
--- a/src/modules/queue/processors/ingress.processor.spec.ts
+++ b/src/modules/queue/processors/ingress.processor.spec.ts
@@ -1,5 +1,4 @@
import { IngressProcessor } from './ingress.processor';
-import { KeyedAsyncLock } from '../../integration/ordering-lock';
function job(overrides = {}) {
return {
@@ -159,9 +158,3 @@ describe('IngressProcessor stall exhaustion (worker failed event)', () => {
await expect(proc.onWorkerFailed(job(), STALLED)).resolves.toBeUndefined();
});
});
-
-describe('KeyedAsyncLock import sanity', () => {
- it('is exported from the integration module for processor injection', () => {
- expect(new KeyedAsyncLock()).toBeInstanceOf(KeyedAsyncLock);
- });
-});