From 5355fef51c6becc433bb477d8d8ad7e10aeb57c0 Mon Sep 17 00:00:00 2001 From: jakubkoci Date: Wed, 8 Dec 2021 00:29:58 +0200 Subject: [PATCH] chore: disable unnecessary type check in Dispatcher test (#565) Signed-off-by: Jakub Koci --- packages/core/src/agent/__tests__/Dispatcher.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/core/src/agent/__tests__/Dispatcher.test.ts b/packages/core/src/agent/__tests__/Dispatcher.test.ts index 3c94cb9dff..c01585e44e 100644 --- a/packages/core/src/agent/__tests__/Dispatcher.test.ts +++ b/packages/core/src/agent/__tests__/Dispatcher.test.ts @@ -25,6 +25,8 @@ class CredentialProposalTestMessage extends AgentMessage { } class TestHandler implements Handler { + // We want to pass various classes to test various behaviours so we dont need to strictly type it. + // eslint-disable-next-line @typescript-eslint/no-explicit-any public constructor(classes: any[]) { this.supportedMessages = classes }