redwoodjs/learn.redwoodjs.com

Coverage directory created in ./web

Closed this issue · 1 comments

With a fresh Redwood blog (yarn create redwood-app ./redwoodblog):

  1. running yarn rw test --coverage creates the coverage directory in ./web
  2. running yarn rw test api --coverage or yarn rw test web --coverage creates the coverage directory in the project's root directory
  3. running yarn rw test --coverage --coverageDirectory=./coverage is equivalent to (1)
  4. as a workaround, running yarn rw test --coverage --coverageDirectory=`pwd`/coverage creates the coverage directory in the project's root directory

Sorry, wrong repo.