mirror of
https://github.com/seejohnrun/haste-server
synced 2025-08-20 17:33:09 -07:00
Fix config and redis settings
This commit is contained in:
parent
ced5c3eef4
commit
54f7b8744d
4 changed files with 13 additions and 24 deletions
|
@ -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 () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue