onrails
    Preparing search index...
    • Unwraps the Some value or throws if the value is None. Use in tests or at the boundary of an assertion; prefer match / getOrElse in production code paths.

      Type Parameters

      • T

      Parameters

      Returns T

      expect(unwrap(parseUser(raw))).toEqual(expected);