Skip to content
Advertisement

Tag: uuid

Stubbing uuid with sinon

So I’m updating dependencies on my project and I’ve run into a snag… My unit tests were working perfectly with the below stub. However in the latest version of UUID, this seemingly has broken. Any suggestions on how to fix it? These are simplistic extracts from the code to illustrate the method I’m using to stub the functionality of uuid

Advertisement