Skip to main content
Version: Next

CLI Tests

To run CLI tests, follow these simple steps:

  1. Open a terminal on your computer.
  2. Navigate to the cli/ directory within your project by using the command cd path/to/your/project/cli/.
  3. Once in the cli/ directory, first ensure that all dependencies are up to date by running yarn. If you haven't installed Yarn, you may need to install it first.
  4. After updating/installing dependencies, initiate the CLI tests by executing yarn tests.

This process will run the test suite associated with the CLI, and you'll be able to see the test results directly in your terminal, including which tests passed and which, if any, failed.

References