File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11const path = require ( 'path' ) ;
22const fs = require ( 'fs' ) ;
33const mkdirp = require ( 'mkdirp' ) ;
4- const { createPromptModule } = require ( '@inquirer/testing' ) ;
4+ const { createPrompt } = require ( '@inquirer/testing' ) ;
55
66const runner = path . join ( __dirname , '../../bin/codecept.js' ) ;
77const codecept_dir = path . join ( __dirname , '/../data/sandbox/configs/init' ) ;
@@ -35,8 +35,8 @@ describe('Init Command', function () {
3535 } ) ;
3636
3737 it ( 'should init Codecept with TypeScript REST JSONResponse English' , async ( ) => {
38- const prompt = createPromptModule ( ) ;
39-
38+ const prompt = createPrompt ( ) ;
39+
4040 prompt . inject ( [
4141 'Y' , // Confirm TypeScript usage
4242 '' , // Default for test location
@@ -56,7 +56,7 @@ describe('Init Command', function () {
5656 } ) ;
5757
5858 it . skip ( 'should init Codecept with JavaScript REST JSONResponse de-DE' , async ( ) => {
59- const prompt = createPromptModule ( ) ;
59+ const prompt = createPrompt ( ) ;
6060
6161 prompt . inject ( [
6262 '' , // Default (No TypeScript)
You can’t perform that action at this time.
0 commit comments