Skip to content

Commit 2c79cd4

Browse files
easonLiangWorldedtechu5a-2359
andcommitted
fileLock: drop the unjustified @ts-nocheck from the lock-wait trace spec
Review thread root 4519625959 asked for the directive to be removed or justified. It is removed, on a measurement: with tsc --noEmit -p tsconfig.json (typescript 5.9.3 under node v22.23.4, src/tsconfig.json sets strict:true and include [.], so specs are inside the checked set), the project reports 9 error lines with line 1 present and the same 9 lines with it deleted - identical sets, symmetric difference 0, none naming this file - and the spec itself still passes its 4 tests (exit 0). The directive was an escape hatch that suppressed nothing, so it is deleted rather than documented. Spec-only change: zero counted executable lines under the gate's /__tests__/ exclusion. Co-authored-by: u5a-2359 <[email protected]>
1 parent 9c08f7b commit 2c79cd4

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎src/utils/__tests__/fileLock.lockWaitTrace.spec.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// @ts-nocheck
21
// npx vitest run utils/__tests__/fileLock.lockWaitTrace.spec.ts
32

43
import * as path from "path"

0 commit comments

Comments
 (0)