// Copyright (c) 2026 Kirky.X
// SPDX-License-Identifier: MIT
//! Audit module test suites.
//!
//! Tests are organized by responsibility:
//! - `audit_logger_tests`: core logger functionality (`sanitize_error_message`,
//! `AppAuditLogger` logging/get/clear, key rotation, total/dropped counts,
//! failure sanitization, trait impl, multi-user, truncation, serialization,
//! signing key, fallback merge, dedup, worker drain, channel/semaphore edges)
//! - `builder_tests`: `AppAuditLoggerBuilder` and `AppAuditLogger::builder()`
//! construction, defaults, chaining, `build()`, and builder worker fallback merge
use *;
// ============================================================================
// Shared test helpers — accessible by all sub-modules via `super::`
// ============================================================================
/// Build an `AuditLog` with sensible defaults for tests.
pub