Fix config and redis settings

This commit is contained in:
Yusuf Yilmaz 2022-05-27 15:22:24 +02:00
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 () => {