Skip to content

Commit

Permalink
fix: ioredis 5.x uses a default export (#1203)
Browse files Browse the repository at this point in the history
  • Loading branch information
xpol authored Jan 29, 2023
1 parent fbb9cd4 commit 6fbeaf3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,4 +255,6 @@ RedisMock.Cluster = class RedisClusterMock extends RedisMock {
}
}

RedisMock.default = RedisMock;

module.exports = RedisMock

0 comments on commit 6fbeaf3

Please sign in to comment.