@shopify/cli-kit
    Preparing search index...

    Function isUnitTest

    • This variable is used when running unit tests to indicate that the CLI's business logic is run as a subject of a unit test. We can use this variable to disable output through the standard streams.

      Parameters

      • env: ProcessEnv = process.env

        The environment variables from the environment of the current process.

      Returns boolean

      True if the SHOPIFY_UNIT_TEST environment variable is truthy.