mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-15 04:22:25 +03:00
ab6c6d959d
- Δημιουργία script για παραγωγή documention του κώδικα - Μικρές διορθώσεις
14 lines
613 B
JavaScript
14 lines
613 B
JavaScript
/*global describe: true, expect: true, it: true, jasmine: true */
|
|
describe("shout plugin", function() {
|
|
var parser = new (require("jsdoc/src/parser")).Parser(),
|
|
plugin = require('plugins/shout'),
|
|
docSet;
|
|
|
|
require('jsdoc/plugins').installPlugins(['plugins/shout'], parser);
|
|
docSet = jasmine.getDocSetFromFile("plugins/shout.js", parser);
|
|
|
|
it("should make the description uppercase", function() {
|
|
var doclet = docSet.getByLongname("module:plugins/shout.handlers.newDoclet");
|
|
expect(doclet[0].description).toEqual("MAKE YOUR DESCRIPTIONS MORE SHOUTIER.");
|
|
});
|
|
});
|