n8n/packages/@n8n/fs-proxy/jest.config.js
oleg 629826ca1d
feat: Instance AI and local gateway modules (no-changelog) (#27206)
Signed-off-by: Oleg Ivaniv <[email protected]>
Co-authored-by: Albert Alises <[email protected]>
Co-authored-by: Jaakko Husso <[email protected]>
Co-authored-by: Dimitri Lavrenük <[email protected]>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: Tuukka Kantola <[email protected]>
Co-authored-by: Claude Opus 4.6 <[email protected]>
Co-authored-by: Mutasem Aldmour <[email protected]>
Co-authored-by: Raúl Gómez Morales <[email protected]>
Co-authored-by: Elias Meire <[email protected]>
Co-authored-by: Dimitri Lavrenük <[email protected]>
Co-authored-by: Tomi Turtiainen <[email protected]>
Co-authored-by: Mutasem Aldmour <[email protected]>
2026-04-01 21:33:38 +03:00

12 lines
367 B
JavaScript

/** @type {import('jest').Config} */
const base = require('../../../jest.config');
module.exports = {
...base,
moduleNameMapper: {
...base.moduleNameMapper,
// @inquirer/prompts and all its sub-packages are ESM-only.
// Tests that don't need interactive prompts can use this mock.
'^@inquirer/(.*)$': '<rootDir>/src/__mocks__/@inquirer/prompts.ts',
},
};