iammerrick/Squire.js — pull request #52 by alexandreFromage (2014-05-10 21:37:05+00:00)
Title: Fixed bug #48 - cannot mock an array

When registering a module, uses define(name, deps, callback) instead of define(name, callback).
This allows one to mock a module returning an array.
Indeed, if an array is passed as the second parameter, Require will assume it references dependencies and will try to load them.