mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-22 23:11:54 +00:00
[misc] test/unit: loosely match the passed redis options
The rewrite will pass a cloned object through.
This commit is contained in:
parent
4aebc1b0b6
commit
d827b521c6
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ describe('index', function () {
|
|||
return it('should call createClient for the ioredis driver in single-instance mode if a non array is passed', function () {
|
||||
const client = this.redis.createClient(this.standardOpts)
|
||||
return this.ioredisConstructor
|
||||
.calledWith(this.standardOpts)
|
||||
.calledWith(sinon.match(this.standardOpts))
|
||||
.should.equal(true)
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue