sinon expect to match object

Solutions on MaxInterview for sinon expect to match object by the best coders in the world

showing results for - "sinon expect to match object"
Mae
04 Oct 2017
1expect(fnStub).to.have.been.calledWith(sinon.match({
2  foo: 'foo',
3  bar: 'bar'
4}));