@inrupt/solid-client
    Preparing search index...

    Function addMockFallbackAclTo

    • Do not use this function in production code.  For use in **unit tests** that require a
      [[SolidDataset]] with a fallback ACL (Access Control List).
      

      Initialises a new empty fallback ACL and attaches it to a given [[SolidDataset]] for use in unit tests; e.g., unit tests that call [[getFallbackAcl]].

      Type Parameters

      Parameters

      • resource: T

        The Resource to mock up with new fallback ACL.

      Returns T & WithAcl & { internal_acl: { fallbackAcl: AclDataset } }

      The input Resource with an empty fallback ACL attached.

      0.2.0