( ...args: Parameters<typeof test> )
| 50 | } |
| 51 | |
| 52 | export function testWithLinkedSyntheticModule( |
| 53 | ...args: Parameters<typeof test> |
| 54 | ): ReturnType<typeof test> { |
| 55 | const fn = |
| 56 | // @ts-expect-error - linkRequests is in Node v22.21+/v24.8+, not yet typed |
| 57 | typeof SourceTextModule?.prototype.linkRequests === 'function' |
| 58 | ? test |
| 59 | : test.skip; |
| 60 | return fn(...args); |
| 61 | } |
| 62 | |
| 63 | export function onNodeVersions( |
| 64 | versionRange: string, |
no test coverage detected