Skip to content

Commit c22775e

Browse files
committed
fix: resolve linting errors in cross-platform test utilities
- Replace any type with unknown in createConditionalTest function - Remove unused shouldSkipTest import from test file - Ensure all linting rules pass for cross-platform testing code
1 parent efcb982 commit c22775e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/utils/test-helpers.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {
77
convertPathSeparators,
88
wouldFilenamesConflict,
99
skipIfUnsupported,
10-
shouldSkipTest,
1110
createConditionalTest,
1211
fileExists,
1312
getTestPaths,

src/utils/test-helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ export function shouldSkipTest(
187187
* Create test helper that conditionally runs based on platform capabilities
188188
* Note: This function expects to be called within a test context where `test` is available
189189
*/
190-
export function createConditionalTest(testFn: any) {
190+
export function createConditionalTest(testFn: unknown) {
191191
return function conditionalTest(
192192
name: string,
193193
requirement: 'symlinks' | 'case-sensitivity' | 'windows' | 'unix',

0 commit comments

Comments
 (0)