diff --git a/src/prompts/questions-test.js b/src/prompts/questions-test.js index 6d919a98..4e464e9e 100644 --- a/src/prompts/questions-test.js +++ b/src/prompts/questions-test.js @@ -1,4 +1,3 @@ -import inquirer, {Separator} from 'inquirer'; import * as prompts from '@form8ion/overridable-prompts'; import {packageManagers, projectTypes} from '@form8ion/javascript-core'; import * as commonPrompts from '@travi/language-scaffolder-prompts'; @@ -117,7 +116,7 @@ suite('prompts', () => { name: questionNames.PROJECT_TYPE, message: 'What type of JavaScript project is this?', type: 'list', - choices: [...Object.values(projectTypes), new Separator(), 'Other'], + choices: [...Object.values(projectTypes), new prompts.Separator(), 'Other'], default: projectTypes.PACKAGE }, { @@ -161,7 +160,7 @@ suite('prompts', () => { type: 'list', message: 'Where will the application be hosted?', when: conditionals.projectIsApplication, - choices: [...Object.keys(hosts), new inquirer.Separator(), 'Other'] + choices: [...Object.keys(hosts), new prompts.Separator(), 'Other'] } ], decisions) .resolves({...answers, [questionNames.CONFIGURE_LINTING]: any.word()}); diff --git a/src/scaffolder/project-type/package/prompt-test.js b/src/scaffolder/project-type/package/prompt-test.js index 7fe9420e..f3142f02 100644 --- a/src/scaffolder/project-type/package/prompt-test.js +++ b/src/scaffolder/project-type/package/prompt-test.js @@ -1,4 +1,3 @@ -import inquirer from 'inquirer'; import * as prompts from '@form8ion/overridable-prompts'; import any from '@travi/any'; import {assert} from 'chai'; @@ -27,7 +26,7 @@ suite('bundler prompt', () => { name: questionNames.PACKAGE_BUNDLER, type: 'list', message: 'Which bundler should be used?', - choices: [...Object.keys(bundlers), new inquirer.Separator(), 'Other'] + choices: [...Object.keys(bundlers), new prompts.Separator(), 'Other'] }], decisions) .resolves(answers); diff --git a/src/scaffolder/project-type/prompt-test.js b/src/scaffolder/project-type/prompt-test.js index 69e0eaa0..08f7c8cf 100644 --- a/src/scaffolder/project-type/prompt-test.js +++ b/src/scaffolder/project-type/prompt-test.js @@ -1,4 +1,3 @@ -import inquirer from 'inquirer'; import * as prompts from '@form8ion/overridable-prompts'; import any from '@travi/any'; import {assert} from 'chai'; @@ -28,7 +27,7 @@ suite('project-type prompts', () => { name: questionNames.PROJECT_TYPE_CHOICE, type: 'list', message: `What type of ${projectType} is this?`, - choices: [...Object.keys(types), new inquirer.Separator(), 'Other'] + choices: [...Object.keys(types), new prompts.Separator(), 'Other'] }], decisions) .resolves(answers); diff --git a/src/testing/prompt-test.js b/src/testing/prompt-test.js index 56dcee16..6bf70a42 100644 --- a/src/testing/prompt-test.js +++ b/src/testing/prompt-test.js @@ -1,4 +1,3 @@ -import inquirer from 'inquirer'; import * as prompts from '@form8ion/overridable-prompts'; import any from '@travi/any'; import {assert} from 'chai'; @@ -27,7 +26,7 @@ suite('project-type prompts', () => { name: questionNames.UNIT_TEST_FRAMEWORK, type: 'list', message: 'Which type of unit testing framework should be used?', - choices: [...Object.keys(frameworks), new inquirer.Separator(), 'Other'] + choices: [...Object.keys(frameworks), new prompts.Separator(), 'Other'] }], decisions) .resolves(answers);