Skip to content

Commit 87f00ec

Browse files
committed
fix(init): missing file ext of step file when using typescript
1 parent 4491b3f commit 87f00ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/command/init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export default async function (initPath, options = {}) {
206206
const stepFile = `./steps_file.${extension}`
207207
fs.writeFileSync(path.join(testsPath, stepFile), extension === 'ts' ? defaultActorTs : defaultActor)
208208

209-
config.include = { I: isTypeScript ? './steps_file' : stepFile }
209+
config.include = { I: isTypeScript ? './steps_file.ts' : stepFile }
210210

211211
print(`Steps file created at ${stepFile}`)
212212

0 commit comments

Comments
 (0)