mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
18 lines
616 B
JavaScript
18 lines
616 B
JavaScript
/**
|
|
* @author Rob Taylor [manix84@gmail.com]
|
|
*/
|
|
|
|
describe("verbose output plugin", function () {
|
|
var parser = new (require("jsdoc/src/parser")).Parser(),
|
|
plugin = require('plugins/verboseOutput'),
|
|
docSet;
|
|
|
|
installPlugins(['plugins/verboseOutput'], parser);
|
|
docSet = jasmine.getDocSetFromFile("plugins/verboseOutput.js", parser);
|
|
|
|
it("should log file names to console", function() {
|
|
var fileBegin = docSet.getByLongname("module:plugins/verboseOutput.handlers.fileBegin");
|
|
expect(fileBegin[0].description).toEqual("Logging the file name to the console.");
|
|
});
|
|
});
|