T-29: lint:check fails on existing issues, so bun run check (M0 exit criterion 1) can't go green

This commit is contained in:
Studio 2026-11-27 14:07:31 -05:00
parent 88023ba643
commit 1720e45f70
5 changed files with 43 additions and 31 deletions

View file

@ -42,7 +42,9 @@ describe.skipIf(!testRedisUrl)('RedisCache', () => {
});
afterEach(async () => {
if (!cache) return;
if (!cache) {
return;
}
try {
await cache.clear();
} finally {

View file

@ -3,9 +3,9 @@ import { Shutdown } from '../src/shutdown';
// These tests use the real `process` listener registry (no stubs) because the
// regression being guarded is listeners leaking across test files in one bun process.
const SIGNALS = ['SIGTERM', 'SIGINT'] as const;
type TrackedSignal = 'SIGTERM' | 'SIGINT';
function listenerCounts(): Record<(typeof SIGNALS)[number], number> {
function listenerCounts(): Record<TrackedSignal, number> {
return {
SIGTERM: process.listenerCount('SIGTERM'),
SIGINT: process.listenerCount('SIGINT'),