bahmutov / cypress-select-tests

User space solution for picking Cypress tests to run
97 stars 14 forks source link

Cannot read property 'includes' of undefined #60

Closed MaxNamazov closed 4 years ago

MaxNamazov commented 4 years ago

Running specs containing computed describes or its causes plugin crash with error

TypeError: Cannot read property 'includes' of undefined
    at project_path/node_modules/cypress-select-tests/src/grep-pick-tests.js:35:34

E.g. This code causes a crash

const testName = 'Some test name';
it(testName, () => {...})
bahmutov commented 4 years ago

:tada: This issue has been resolved in version 1.4.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: