mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
refactor: move tests for @jsdoc/doclet
This commit is contained in:
parent
6a5b88cb5a
commit
940efde97b
@ -17,7 +17,7 @@
|
|||||||
describe('@jsdoc/doclet/lib/augment', () => {
|
describe('@jsdoc/doclet/lib/augment', () => {
|
||||||
// TODO: more tests
|
// TODO: more tests
|
||||||
|
|
||||||
const augment = require('../../lib/augment');
|
const augment = require('../../../lib/augment');
|
||||||
|
|
||||||
it('should exist', () => {
|
it('should exist', () => {
|
||||||
expect(augment).toBeObject();
|
expect(augment).toBeObject();
|
||||||
@ -17,7 +17,7 @@
|
|||||||
describe('@jsdoc/doclet/lib/doclet', () => {
|
describe('@jsdoc/doclet/lib/doclet', () => {
|
||||||
// TODO: more tests
|
// TODO: more tests
|
||||||
const _ = require('lodash');
|
const _ = require('lodash');
|
||||||
const doclet = require('../../lib/doclet');
|
const doclet = require('../../../lib/doclet');
|
||||||
const Doclet = doclet.Doclet;
|
const Doclet = doclet.Doclet;
|
||||||
const { SCOPE } = require('@jsdoc/core').name;
|
const { SCOPE } = require('@jsdoc/core').name;
|
||||||
|
|
||||||
@ -14,7 +14,7 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
/* global jsdoc */
|
/* global jsdoc */
|
||||||
const jsdocPackage = require('../../lib/package');
|
const jsdocPackage = require('../../../lib/package');
|
||||||
const { Package } = jsdocPackage;
|
const { Package } = jsdocPackage;
|
||||||
|
|
||||||
describe('@jsdoc/doclet/lib/package', () => {
|
describe('@jsdoc/doclet/lib/package', () => {
|
||||||
@ -16,7 +16,7 @@
|
|||||||
describe('@jsdoc/doclet/lib/schema', () => {
|
describe('@jsdoc/doclet/lib/schema', () => {
|
||||||
// We test the content of the schema in the `jsdoc` package, where we validate all of the parse
|
// We test the content of the schema in the `jsdoc` package, where we validate all of the parse
|
||||||
// results that were created while running other tests.
|
// results that were created while running other tests.
|
||||||
const schema = require('../../lib/schema');
|
const schema = require('../../../lib/schema');
|
||||||
|
|
||||||
it('is an object', () => {
|
it('is an object', () => {
|
||||||
expect(schema).toBeObject();
|
expect(schema).toBeObject();
|
||||||
Loading…
x
Reference in New Issue
Block a user