You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When constructing the keyData string in the ctor you should include the database number - at the moment the db number does not affect the context where the data is stored meaning redis queries return the wrong data.
class RedisMock extends EventEmitter {
constructor(...args) {
super()
... code removed for brevity
const optionsWithDefault = { ...defaultOptions, ...getOptions(...args) }
this.keyData = `${optionsWithDefault.host}:${optionsWithDefault.port}/optionsWithDefault.db` <-- include db here
The text was updated successfully, but these errors were encountered:
When constructing the keyData string in the ctor you should include the database number - at the moment the db number does not affect the context where the data is stored meaning redis queries return the wrong data.
The text was updated successfully, but these errors were encountered: