Package Exports
- mockirer
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mockirer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
mockirer

Mock the answers of inquirer prompt questions.
Install
npm install mockirer --save-dev
Usage
const mockirer = require('mockirer');
const inquirer = require('inquirer');
mockirer(inquirer, {
name: 'Cauê'
});
inquirer.prompt([
{
type: 'input',
name: 'name',
message: 'What is your name?',
}
]).then(answers => {
console.log(answers.name); // Cauê
})
License
MIT © Cauê Alves