mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-02 04:42:23 +03:00
ab6c6d959d
- Δημιουργία script για παραγωγή documention του κώδικα - Μικρές διορθώσεις
11 lines
No EOL
613 B
JavaScript
11 lines
No EOL
613 B
JavaScript
describe("'exports' symbol in modules", function() {
|
|
var docSet = jasmine.getDocSetFromFile('test/fixtures/exports.js'),
|
|
helloworld = docSet.getByLongname('module:hello/world')[0],
|
|
sayhello = docSet.getByLongname('module:hello/world.sayHello')[0];
|
|
|
|
it('When a symbol starts with the special name "exports" and is in a file with a @module tag, the symbol is documented as a member of that module.', function() {
|
|
expect(typeof sayhello).toEqual('object');
|
|
expect(sayhello.kind).toEqual('function');
|
|
expect(sayhello.memberof).toEqual('module:hello/world');
|
|
});
|
|
}); |