title, description, links
| title |
description |
links |
| nuxt test |
The test command runs tests using @nuxt/test-utils. |
|
The test command runs tests using @nuxt/test-utils. This command sets process.env.NODE_ENV to test if not already set.
Arguments
| Argument |
Description |
ROOTDIR="." |
Specifies the working directory (default: .) |
Options
| Option |
Default |
Description |
--cwd=<directory> |
|
Specify the working directory, this takes precedence over ROOTDIR (default: .) |
--logLevel=<silent|info|verbose> |
|
Specify build-time log level |
--dev |
|
Run in dev mode |
--watch |
|
Watch mode |
::note
This command sets process.env.NODE_ENV to test.
::