expect(true).toBe(true) passes every time. QA Lens finds the tests that were written to satisfy CI rather than catch bugs.
What it catches
Patterns like expect(true).toBe(true), expect(x).toBeDefined() with no value check, or hardcoded expected values that can never fail.
Tests removed or commented out during refactoring. If the agent deleted a test file, you'll see it flagged with the coverage it previously covered.
API keys, passwords, and tokens found in new test files or fixture data that the agent created during the session.
Functions with error paths, null inputs, or auth guards — with no corresponding test for those branches.
Example output
QA Lens · 2 fake assertions · 1 deleted test file
Fake assertion
expect(result).toBeDefined()auth.test.ts:47 — passes regardless of result value
Deleted test
auth.integration.test.ts — removedCovered: login flow, token refresh, session expiry