mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
32 lines
720 B
JavaScript
32 lines
720 B
JavaScript
const core = require('../../index');
|
|
|
|
describe('@jsdoc/core', () => {
|
|
it('is an object', () => {
|
|
expect(core).toBeObject();
|
|
});
|
|
|
|
describe('config', () => {
|
|
it('is lib/config', () => {
|
|
const config = require('../../lib/config');
|
|
|
|
expect(core.config).toBe(config);
|
|
});
|
|
});
|
|
|
|
describe('name', () => {
|
|
it('is lib/name', () => {
|
|
const name = require('../../lib/name');
|
|
|
|
expect(core.name).toBe(name);
|
|
});
|
|
});
|
|
|
|
describe('Syntax', () => {
|
|
it('is lib/syntax.Syntax', () => {
|
|
const { Syntax } = require('../../lib/syntax');
|
|
|
|
expect(core.Syntax).toBe(Syntax);
|
|
});
|
|
});
|
|
});
|