-
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
We are trying to migrate protractor automation suits to webdriverio.
we are seeing type error for transforming config.js using command npx jscodeshift -t ./node_modules/@wdio/codemod/protractor config/config.js
Error message :
ERR config/config.js Transformation error (Cannot read properties of undefined (reading 'map'))exact error is Transformation error (Cannot read properties of undefined (reading 'map'))
From stacktrace : node_modules/@wdio/codemod/protractor/utils.js:297:61)
const suites = require('./suites').suites
I have installed codemod and wdio/cli using command
npm install jscodeshift @wdio/codemod
npm install --save-dev @wdio/cli
Attached config file
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed