10 lines
291 B
JavaScript
10 lines
291 B
JavaScript
var Package = require('dgeni').Package;
|
|
|
|
module.exports = function mockPackage() {
|
|
|
|
return new Package('mockPackage', [require('../'), require('dgeni-packages/nunjucks')])
|
|
|
|
// provide a mock log service
|
|
.factory('log', function() { return require('dgeni/lib/mocks/log')(false); });
|
|
};
|