Skip to content

Commit

Permalink
fix: keep options as redis property (#1202)
Browse files Browse the repository at this point in the history
  • Loading branch information
xpol authored Jan 29, 2023
1 parent a4e8a4a commit fbb9cd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ class RedisMock extends EventEmitter {
this.connected = true
emitConnectEvent(this)
}
this.options = optionsWithDefault;
}

get channels() {
Expand Down

0 comments on commit fbb9cd4

Please sign in to comment.