AnsweredAssumed Answered

Mock Dojo Module: Any Working Examples?

Question asked by Zian on Sep 29, 2016
Latest reply on Oct 4, 2016 by Zian

I can't find any example of someone mocking a Dojo module successfully.


I found but when I try to run StubModule, I get an error at line 27 of stub-module.js because "modules" isn't a member of the require variable.


I also looked into Sinon.js but they don't say anything about mocking AMD modules (


Does anyone know of any working examples of someone mocking a Dojo AMD module?