/** * qtests Setup Module - Global Node.js Module Resolution Modification - TypeScript Implementation * * This module modifies Node.js's global module resolution behavior to automatically * substitute stub implementations for real modules during testing. It's a critical * piece of the qtests framework that enables seamless testing without changing * application code. * * Core functionality: * When this module is required, it patches Node.js's Module._resolveFilename method * to intercept require() calls and redirect them to stub implementations when * appropriate. This allows test code to use the same require() statements as * production code while getting test-appropriate implementations. * * Design philosophy: * - Transparent operation: Application code doesn't need to change * - Automatic stub resolution: No manual require() path changes needed * - Safe operation: Only affects specific modules, others work normally * - Performance conscious: Minimal overhead on module resolution * * Security and safety considerations: * - Only affects modules in the predefined stub registry * - Original Node.js behavior preserved for unlisted modules * - Changes are temporary and isolated to test execution * - No permanent modifications to Node.js installation * - Easy to disable by not requiring this module */ export declare const setupComplete = true; //# sourceMappingURL=setup.d.ts.map