From 5d402a2f2bad08ceb4d74db850c9e78476e2e11f Mon Sep 17 00:00:00 2001 From: Alberto Ricart Date: Tue, 26 Mar 2024 17:10:01 -0500 Subject: [PATCH] [FIX] linter warnings --- jetstream/tests/kv_test.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/jetstream/tests/kv_test.ts b/jetstream/tests/kv_test.ts index bd5d8512..34669397 100644 --- a/jetstream/tests/kv_test.ts +++ b/jetstream/tests/kv_test.ts @@ -1,5 +1,5 @@ /* - * Copyright 2021-2023 The NATS Authors + * Copyright 2021-2024 The NATS Authors * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -21,7 +21,6 @@ import { Empty, NatsConnection, NatsConnectionImpl, - NatsError, nuid, parseSemVer, QueuedIterator, @@ -2020,7 +2019,7 @@ Deno.test("kv - bind no info", async () => { const d = deferred(); nc.subscribe("$JS.API.STREAM.INFO.>", { - callback: (_err, msg) => { + callback: () => { d.reject(new Error("saw stream info")); }, });