-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
p2-nice-to-haveNot breaking anything but nice to have (priority)Not breaking anything but nice to have (priority)
Description
Describe the bug
Expected Vite's --clearScreen=false argument to be accepted by Vitest (not just in the config)
Reproduction
npx vitest --clearScreen=false
file:///…/node_modules/cac/dist/index.mjs:400
throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);
^
CACError: Unknown option `--clearScreen`
at Command.checkUnknownOptions (file:///…/node_modules/cac/dist/index.mjs:400:17)
at CAC.runMatchedCommand (file:///…/node_modules/cac/dist/index.mjs:598:13)
at CAC.parse (file:///…/node_modules/cac/dist/index.mjs:537:12)
at file:///…/node_modules/vitest/dist/cli.js:72:7
at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:329:24)
at async main (file:///…/node_modules/vitest/dist/cli-wrapper.js:45:5)
Node.js v20.11.0System Info
n/aUsed Package Manager
npm
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
p2-nice-to-haveNot breaking anything but nice to have (priority)Not breaking anything but nice to have (priority)
Type
Projects
Status
Approved