NodeRedis/node-redis

View on GitHub
packages/json/lib/test-utils.ts

Summary

Maintainability
A
35 mins
Test Coverage
import TestUtils from '@redis/test-utils';
import RedisJSON from '.';

export default new TestUtils({
  dockerImageName: 'redis/redis-stack',
  dockerImageVersionArgument: 'redisgraph-version',
  defaultDockerVersion: '7.4.0-v1'
});

export const GLOBAL = {
  SERVERS: {
    OPEN: {
      serverArguments: [],
      clientOptions: {
        modules: {
          json: RedisJSON
        }
      }
    }
  }
};