From the blog
Currently displaying: javascript
Mock your Dojo AMD modules with StubModule.js (2 min)
When testing AMD modules it is sometimes necessary to verify how it interacts with it's dependencies. For example, you might be writing a module that makes XHR requests using dojo/request and you want