1
0
mirror of https://github.com/seejohnrun/haste-server.git synced 2025-12-26 05:21:27 +00:00

Fix config and redis settings

This commit is contained in:
Yusuf Yilmaz
2022-05-27 15:22:24 +02:00
parent ced5c3eef4
commit 54f7b8744d
4 changed files with 13 additions and 24 deletions

View File

@@ -14,7 +14,6 @@ describe('Redis document store', () => {
store = new RedisDocumentStore({
expire: 10,
type: 'redis',
url: 'http://localhost:6666',
})
return store.set('hello1', 'world', async () => {
const res = await store.client?.ttl('hello1')
@@ -26,7 +25,6 @@ describe('Redis document store', () => {
store = new RedisDocumentStore({
expire: 10,
type: 'redis',
url: 'http://localhost:6666',
})
store.set(
@@ -43,7 +41,6 @@ describe('Redis document store', () => {
it('should not set an expiration when expiration is off', async () => {
store = new RedisDocumentStore({
type: 'redis',
url: 'http://localhost:6666',
})
store.set('hello3', 'world', async () => {