Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
The command line interface for Intern
This module gives Intern a friendly command line interface that works like a typical POSIX application.
Install it globally:
$ npm install -g intern-cli
You can then run Intern unit tests with:
$ intern run
intern-cli will use Intern’s Node client by default, and it assumes the test config is located at ./tests/intern.js
.
intern-cli provides top level help when run with no arguments:
$ intern
Usage: intern [options] [command]
Run JavaScript tests
Commands:
init [options] Setup a project for testing with Intern
run [options] Run tests in Node or in a browser using WebDriver
serve [options] Start a simple web server for running unit tests in a browser on your system
Options:
-h, --help output usage information
-v, --verbose show more information about what Intern is doing
-V, --version output the version
--debug enable the Node debugger
You can get more information about a particular sub-command with the help
command or the -h
option:
$ intern help init
Usage: init [options]
Setup a project for testing with Intern
Options:
-h, --help output usage information
-b, --browser <browser> browser to use for functional tests
This command creates a "tests" directory with a default Intern config file
and some sample tests.
Browser names:
chrome, firefox, safari, internet explorer, microsoftedge
intern-cli also tries to provide useful feedback when it notices a problem with its environment:
$ intern
You'll need a local install of Intern before you can use this command.
Install it with
npm install --save-dev intern
intern-cli is offered under the New BSD license.
© SitePen, Inc. and its contributors
FAQs
The command line interface for Intern
The npm package intern-cli receives a total of 19 weekly downloads. As such, intern-cli popularity was classified as not popular.
We found that intern-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.