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

9 lines
222 B
JavaScript

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