Skip to content

Instantly share code, notes, and snippets.

@mattbasta
Created March 27, 2013 23:48
Show Gist options
  • Save mattbasta/5259222 to your computer and use it in GitHub Desktop.
Save mattbasta/5259222 to your computer and use it in GitHub Desktop.
var mockobj = mock({
utils: function() {
return { ... };
}
});
mockobj(['foomodule'], function(foomodule) {
test('foomodule', function(done) {
foomodule.should_not_explode();
done();
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment