mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
24 lines
518 B
JavaScript
24 lines
518 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);
|
|
});
|
|
});
|
|
});
|