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', () => {
|
||||
// TODO: more tests
|
||||
|
||||
const augment = require('../../lib/augment');
|
||||
const augment = require('../../../lib/augment');
|
||||
|
||||
it('should exist', () => {
|
||||
expect(augment).toBeObject();
|
||||
@ -17,7 +17,7 @@
|
||||
describe('@jsdoc/doclet/lib/doclet', () => {
|
||||
// TODO: more tests
|
||||
const _ = require('lodash');
|
||||
const doclet = require('../../lib/doclet');
|
||||
const doclet = require('../../../lib/doclet');
|
||||
const Doclet = doclet.Doclet;
|
||||
const { SCOPE } = require('@jsdoc/core').name;
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
limitations under the License.
|
||||
*/
|
||||
/* global jsdoc */
|
||||
const jsdocPackage = require('../../lib/package');
|
||||
const jsdocPackage = require('../../../lib/package');
|
||||
const { Package } = jsdocPackage;
|
||||
|
||||
describe('@jsdoc/doclet/lib/package', () => {
|
||||
@ -16,7 +16,7 @@
|
||||
describe('@jsdoc/doclet/lib/schema', () => {
|
||||
// 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.
|
||||
const schema = require('../../lib/schema');
|
||||
const schema = require('../../../lib/schema');
|
||||
|
||||
it('is an object', () => {
|
||||
expect(schema).toBeObject();
|
||||
Loading…
x
Reference in New Issue
Block a user