mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-23 15:12:44 +03:00
ab6c6d959d
- Δημιουργία script για παραγωγή documention του κώδικα - Μικρές διορθώσεις
14 lines
631 B
JavaScript
14 lines
631 B
JavaScript
/*global describe: true, expect: true, it: true, jasmine: true */
|
|
describe("commentConvert plugin", function() {
|
|
var parser = new (require("jsdoc/src/parser")).Parser(),
|
|
plugin = require('plugins/commentConvert'),
|
|
docSet;
|
|
|
|
require('jsdoc/plugins').installPlugins(['plugins/commentConvert'], parser);
|
|
docSet = jasmine.getDocSetFromFile("plugins/commentConvert.js", parser);
|
|
|
|
it("should convert '///-style comments into jsdoc comments", function() {
|
|
var doclet = docSet.getByLongname("module:plugins/commentConvert.handlers.beforeParse");
|
|
expect(doclet.length).toEqual(1);
|
|
});
|
|
});
|