GitHub

test

Test your local blocks against their corresponding remote tests.

npx jsrepo test

Usage

npx jsrepo test

Options

--repo

The repository to download the blocks from.

Usage

npx jsrepo test --repo github/ieedan/std
-A, --allow

Allow jsrepo to download code from the provided repo. This skips the initial confirmation prompt when attempting to download a block from a registry not listed in the jsrepo.json file.

Usage

npx jsrepo test github/ieedan/std/utils/math --allow
--debug

Leaves the temp test file around for debugging upon failure.

Usage

npx jsrepo test --debug
--verbose

More verbose logging. (May be used to troubleshoot issues)

Usage

npx jsrepo test --verbose
--cwd

Run the current command on the provided directory absolute or relative.

Usage

npx jsrepo test --cwd ./sites/docs
-h, --help

Help with the command.

Usage

npx jsrepo test --help