diez icon indicating copy to clipboard operation
diez copied to clipboard

JSDoc error when running tests in `@diez/targets`

Open jacobwardio opened this issue 4 years ago • 0 comments

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

jacobwardio avatar Mar 21 '21 11:03 jacobwardio