Skip to content

Commit

Permalink
feat!: remove status exports
Browse files Browse the repository at this point in the history
  • Loading branch information
liaoliaots committed Feb 17, 2022
1 parent 1f39f0f commit 531af15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/index.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as allExports from '.';

test('there should be 14 exports', () => {
expect(Object.keys(allExports)).toHaveLength(14);
test('there should be 12 exports', () => {
expect(Object.keys(allExports)).toHaveLength(12);
});

test('each of exports should be defined', () => {
Expand Down
4 changes: 2 additions & 2 deletions lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
export { RedisModule } from './redis/redis.module';
export { DEFAULT_REDIS_NAMESPACE, RedisStatus } from './redis/redis.constants';
export { DEFAULT_REDIS_NAMESPACE } from './redis/redis.constants';
export { RedisManager, RedisManager as RedisService } from './redis/redis-manager';
export { InjectRedis, getRedisToken } from './redis/common';
export { ClusterModule } from './cluster/cluster.module';
export { DEFAULT_CLUSTER_NAMESPACE, ClusterStatus } from './cluster/cluster.constants';
export { DEFAULT_CLUSTER_NAMESPACE } from './cluster/cluster.constants';
export { ClusterManager, ClusterManager as ClusterService } from './cluster/cluster-manager';
export { InjectCluster, getClusterToken } from './cluster/common';

Expand Down

0 comments on commit 531af15

Please sign in to comment.