9fa7d38133
This means that we can now run just the d.ts file generation by running: ```bash gulp docs/typings ``` In addition the type definition generation was messing with the other docs tasks so separating it also fixes problems there.
11 lines
256 B
JavaScript
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); });
|
|
|
|
};
|