Skip to content

Commit

Permalink
chore(test): merge KV and HashKV testsuites
Browse files Browse the repository at this point in the history
  • Loading branch information
mrnagydavid committed Sep 27, 2024
1 parent c3aff47 commit c06b4a4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/test/redis.hash.manual.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CommonKeyValueDao } from '@naturalcycles/db-lib'
import {
runCommonHashKeyValueDBTest,
runCommonHashKeyValueDaoTest,
runCommonKeyValueDBTest,
runCommonKeyValueDaoTest,
TEST_TABLE,
} from '@naturalcycles/db-lib/dist/testing'
import { KeyValueDBTuple } from '@naturalcycles/db-lib/src/kv/commonKeyValueDB'
Expand All @@ -22,8 +22,8 @@ test('connect', async () => {
await db.ping()
})

describe('runCommonHashKeyValueDBTest', () => runCommonHashKeyValueDBTest(db))
describe('runCommonKeyValueDaoTest', () => runCommonHashKeyValueDaoTest(dao))
describe('runCommonHashKeyValueDBTest', () => runCommonKeyValueDBTest(db))
describe('runCommonKeyValueDaoTest', () => runCommonKeyValueDaoTest(dao))

test('saveBatch with EXAT', async () => {
const testIds = _range(1, 4).map(n => `id${n}`)
Expand Down

0 comments on commit c06b4a4

Please sign in to comment.