angular-cn/public/api-builder/docs-package/mocks/mockPackage.js

11 lines
256 B
JavaScript

var Package = require('dgeni').Package;
module.exports = function mockPackage() {
return new Package('mockPackage', [require('../')])
// provide a mock log service
.factory('log', function() { return require('dgeni/lib/mocks/log')(false); });
};