mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
[misc] test/unit: loosely match the passed redis options
The rewrite will pass a cloned object through.
This commit is contained in:
@@ -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)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user