mirror of
https://github.com/n8n-io/n8n
synced 2026-04-21 15:47:20 +00:00
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]>
12 lines
367 B
JavaScript
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',
|
|
},
|
|
};
|