Beignet API reference
    Preparing search index...

    Function assertAuditEntry

    • Assert that an audit entry exists and return the matching entry.

      The helper throws a plain Error, so it works with Bun, Vitest, Jest, and other test runners.

      Parameters

      Returns AuditLogEntry

      The matching audit entry.

      Error when no entry matches.