Update test/redis_document_store_spec.js
This commit is contained in:
parent
f5ecab9c99
commit
677195d59b
|
@ -1,7 +1,6 @@
|
|||
/* global it, describe, afterEach */
|
||||
|
||||
var assert = require('assert');
|
||||
|
||||
var winston = require('winston');
|
||||
winston.remove(winston.transports.Console);
|
||||
|
||||
|
@ -9,7 +8,13 @@ var RedisDocumentStore = require('../lib/document_stores/redis');
|
|||
|
||||
describe('redis_document_store', function() {
|
||||
|
||||
/* reconnect to redis on each test */
|
||||
beforeEach(function(done) {
|
||||
// Initialize or reconnect to Redis here
|
||||
// Include any connection or retry logic here
|
||||
// Call done() once the connection is established
|
||||
done();
|
||||
});
|
||||
|
||||
afterEach(function() {
|
||||
if (RedisDocumentStore.client) {
|
||||
RedisDocumentStore.client.quit();
|
||||
|
|
Loading…
Reference in New Issue