gjs-test
    Preparing search index...

    Function assertThat

    • Throw an error if the actual value doesn't satisfy the matcher condition.

      Parameters

      • actual: unknown

        The actual value to check.

      • matcher: Matcher

        The condition to check.

      Returns void

      Error with the description of the failure if the check has failed.