From 40800b70e869a4330239207535df52632bebf49b Mon Sep 17 00:00:00 2001 From: David Nagy Date: Mon, 21 Oct 2024 12:02:10 +0200 Subject: [PATCH] fix: fix redisHashKeyValueDB name --- src/redisHashKeyValueDB.ts | 2 +- src/test/redis.hash.manual.test.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/redisHashKeyValueDB.ts b/src/redisHashKeyValueDB.ts index 55f56cb..9af1cb9 100644 --- a/src/redisHashKeyValueDB.ts +++ b/src/redisHashKeyValueDB.ts @@ -21,7 +21,7 @@ import { RedisKeyValueDBCfg } from './redisKeyValueDB' * Once the available Redis version reaches 7.4.0+, * this implementation can take over for RedisKeyValueDB. */ -export class RedishHashKeyValueDB implements CommonKeyValueDB, AsyncDisposable { +export class RedisHashKeyValueDB implements CommonKeyValueDB, AsyncDisposable { constructor(public cfg: RedisKeyValueDBCfg) {} support = { diff --git a/src/test/redis.hash.manual.test.ts b/src/test/redis.hash.manual.test.ts index 46b8e55..937af4e 100644 --- a/src/test/redis.hash.manual.test.ts +++ b/src/test/redis.hash.manual.test.ts @@ -4,10 +4,10 @@ import { runCommonKeyValueDaoTest } from '@naturalcycles/db-lib/dist/testing/key import { KeyValueDBTuple } from '@naturalcycles/db-lib/src/kv/commonKeyValueDB' import { _AsyncMemo, _range, localTime, pDelay } from '@naturalcycles/js-lib' import { RedisClient } from '../redisClient' -import { RedishHashKeyValueDB } from '../redisHashKeyValueDB' +import { RedisHashKeyValueDB } from '../redisHashKeyValueDB' const client = new RedisClient() -const db = new RedishHashKeyValueDB({ client }) +const db = new RedisHashKeyValueDB({ client }) const dao = new CommonKeyValueDao({ db,