Skip to content

JSDoc error when running tests in @diez/targets #152

@jacobwardio

Description

@jacobwardio

I have checked out the diez monorepo and followed all the instructions for Setup (including macOS instructions) in CONTRIBUTING.md.

When I run yarn test I get the following error in the @diez/targets package. Any help understanding and resolving this would be appreciated.

Node version: 10.16.3
Yarn version: 1.19.1

Steps to reproduce:

  1. git clone https://github.com/diez/diez.git
  2. cd diez
  3. nvm use 10.16.3
  4. yarn set version 1.19.1
  5. yarn
  6. yarn test
lerna ERR! yarn run test exited 1 in '@diez/targets'
lerna ERR! yarn run test stdout:
$ jest --runInBand
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

lerna ERR! yarn run test stderr:
warning package.json: License should be a valid SPDX license expression
FAIL test/targets.e2e.test.ts (10.477s)
  ● Console

    console.log ../../cli/cli-core/lib/reporting.js:59
      Validating project structure at /Users/jacobward/Projects/diez/examples/.stub/target-tests...
    console.log ../../cli/cli-core/lib/reporting.js:59
      Compiling project...
    console.log ../../cli/cli-core/lib/reporting.js:59
      Test: add core files.

  ● targets.e2e › targets.e2e.Primitives

    JSDOC_ERROR: There are no input files to process.

      at Explain.verifyOutput (../../../node_modules/jsdoc-api/lib/jsdoc-command.js:112:19)
      at ChildProcess.handle.on.code (../../../node_modules/jsdoc-api/lib/explain.js:45:38)

PASS test/targets/docs.test.ts
PASS test/utils.test.ts
PASS test/css-rules.test.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions