# Lens: Tautology Auditor

Check if tests are "lying" or providing false confidence by asserting things that are always true.

## Checklist

### 1. Mock Assertions
*   **❌ Flag:** `expect(mock).toHaveBeenCalled()`.
*   **Why:** You are testing that the mock framework works, not that the code is correct.
*   **Fix:** Assert on the *result* of the call or its *observable side effects*.

### 2. Logic Duplication
*   **❌ Flag:** `expect(add(a,b)).toBe(a+b)`.
*   **Why:** If the logic is wrong in both, the test passes.
*   **Fix:** Use hardcoded expected values (`expect(add(2,2)).toBe(4)`).

### 3. Swallowed Errors
*   **❌ Flag:** `try { ... } catch (e) {}` inside a test without re-throwing or failing.
*   **Why:** Silences actual failures.
*   **Fix:** Use the test runner's built-in error handling or `expect().toThrow()`.

### 4. Meaningless Assertions
*   **❌ Flag:** `expect(result).toBeDefined()` when the result is just a status code.
*   **Fix:** Assert on the *specific value* (`expect(result.status).toBe(200)`).
