Open naissa12 opened 2 years ago
That package.json
snippet is not including sinon-chai
(or chai, for that matter), it's including the DefinitelyTyped type definitions for Chai. Are you including the actual chai and sinon-chai elsewhere in your package.json
?
Also, we won't really be able to help without seeing what your test code is doing - at least a snippet that's calling calledTwice
and the part where you set up sinon-chai
.
I'm seeing the error above when running unit tests. Can someone please help? I have sinon-chai installed. See my package.json: